BaseMap Reference

342
2
Jump to solution
05-11-2020 10:04 AM
jaykapalczynski
Frequent Contributor

Is it possible to control the reference text that accompanies a basemap like you see in ArcMap 

I have drak-gray basemap but I want to see if I can control the scale of the labeling from the reference labels that associated with the basemap

Example something like this --

reference: false,

or 

minScale-reference: 4000000

maxScale-reference: 25000

        var mapright = new Map({
            basemap: "dark-gray",
            layers: [resultsLayer3]   
        });
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Add the basemap layer and reference layer separately as TileLayer and MapImageLayer (for the reference layer) That way you can override the reference layers scales.Just lie in this sample there is not basemap specified and layers are added latter:

ArcGIS API for JavaScript Sandbox 

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Add the basemap layer and reference layer separately as TileLayer and MapImageLayer (for the reference layer) That way you can override the reference layers scales.Just lie in this sample there is not basemap specified and layers are added latter:

ArcGIS API for JavaScript Sandbox 

0 Kudos
jaykapalczynski
Frequent Contributor

thanks....forgot about grabbing the URL separately

0 Kudos