Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the basemap via publish #519

Merged
merged 1 commit into from
Mar 4, 2016

Conversation

AlexAThomas
Copy link
Contributor

We can change the basemap with events

dojo.publish('basemaps/updateBasemap',['gray'])

We can change the basemap with events

dojo.publish('basemaps/updateBasemap',['gray'])
@green3g
Copy link
Member

green3g commented Mar 4, 2016

This looks good. In addition to the topic publish it lets you do

digit.byId('basemaps').updateBasemap('gray');

tmcgee added a commit that referenced this pull request Mar 4, 2016
@tmcgee tmcgee merged commit 22123d9 into cmv:develop Mar 4, 2016
@tmcgee tmcgee added this to the v1.4.0 milestone Mar 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants