Hi all,
Seems like this should be an easy operation but for some reason the view.goTo() is not doing anything at all
Thinking this might be a spatial reference issue (?) but not sure how to fix it...(the online sample code worked for me but the zoom imagery layer's wkid is 4326...)
Additional info:
view.spatialReference's wkid is 102100
event.item.layer's wkid is 102190
Any help is appreciated!! Thank you!! - Jenny
Solved! Go to Solution.
Jenny,
You need to project the layer full extent to the maps spatial reference.
Jenny,
You need to project the layer full extent to the maps spatial reference.
Thanks for the quick reply Rob!
that's what i was thinking...tried below but getting Type Error: g is null....
am i even on the right track?
Jenny,
That looks fine. Did you call projection.load() earlier in your code?
no lol it's working now.
thanks Rob. much appreciated