Zooming to a level based on a condition

606
2
Jump to solution
11-16-2012 11:50 PM
PrasannaRaghavendar
New Contributor III
Hi,
I have a situation where I want the map to be zoomed to a level based on a condition like
if(location="Street"){ //zoom should make even the streets visible } else if(location="postal"){ //zoom should be slightly less than Street level } else if(location="city"){ //zoom to city level - just cities need to be visible }


How should I do this?
0 Kudos
1 Solution

Accepted Solutions
ManojrajTeli
Occasional Contributor II
See this example might be helpfull to you...

View solution in original post

0 Kudos
2 Replies
ManojrajTeli
Occasional Contributor II
See this example might be helpfull to you...
0 Kudos
EdwardHinkle
New Contributor II
Let us know if there are any questions after working through that example.
0 Kudos