1

Looking to learn more about CMV Viewer. For example, how would I add capability like:

map on load:

for learning how to configure CMV Viewer for my own needs, I'd like to start by learning to add "click" for "show coordinates"...

here's the example of the code I'd like to add onto my copy of CMV Viewer. Can someone teach me how to add on this type of customization?

Here's what I'd like to add: http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=map_infowindow

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Jan 13, 2015 at 23:17

1 Answer 1

2

The cmv projections widget contributed by the community is a good place to start. That widget does what you ask plus showing coordinates in multiple projections.

answered Jan 14, 2015 at 17:49
2
  • That is half of what I was looking for!!! That's the tool I need. Now, the other half of the answer I am hoping for: if i wanted to add that functionality, and a current cmv widget didn't exist, then the way to approach the solution would be to build a widget (otherwise, it cannot be added simply using "map on load"), is that correct? Commented Jan 15, 2015 at 1:30
  • 1
    It depends on your needs. Typically a widget (one that presents a GUI or one that is invisible) is the most flexible route. Widgets are added to the application after everything is initialized so you know the map and layers are loaded already. The best way to learn would be to look at how an existing widget is constructed and interacts with the map, layers, etc. Commented Jan 15, 2015 at 17:08

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.