question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BasemapGalleryProperties `source` TypeScript definition autocast missing

See original GitHub issue

I am reporting an issue with

  • TypeScript definitions
  • another resource in this repository

According to index.d.ts, BasemapGalleryProperties has the following:

    source?: LocalBasemapsSourceProperties | PortalBasemapsSourceProperties;

But the docs for source clearly state that it can take an array or Collection and autocast it.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
schontzcommented, Nov 30, 2018

No, not worth it. We’ll move to TS soon enough which can produce AMD modules just fine.

1reaction
dasacommented, Nov 30, 2018

Yes, we recommend using imports, which are made easier in VS Code with it’s auto-importing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MapView | API Reference | ArcGIS Maps SDK for JavaScript ...
Represents the view for a single basemap after it has been added to the map. breakpoints Object. A convenience property used for defining...
Read more >
Solved: Adding Custom Basemaps to Basemap Gallery in 4.3
The source for basemaps that the widget will display. This property can be autocast with an array or Collection of Basemaps, a Portal...
Read more >
How to add multiple colors inside the cluster of points ... - GitHub
Hi nick, We really liked your flare cluster layer.In my requirement I want to show multiple default symbols based on the condition.
Read more >
GEOG 863 - John A. Dutton e-Education Institute
In this course, we'll be spending the bulk of our time learning how GIS web applications can be built using a mapping Application...
Read more >
Release notes for 4.13 | ArcGIS API for JavaScript 4.18
Now you can symbolize layers using a dictionary of symbols configured with multiple attributes. For example, you may want to symbolize alternative fuel ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found