Hi…
Basically the map is displaying 2D planer surface(-180 to +180) if we add ‘Countries02.shp’ shape file to map. After moving out of map boundary, the map is not displaying but mouse point showing latlon.
I want to display map not just up to -180 to +180, it should continue after moving out of map also. Just like globe or google earth.
Help me to make it.
Thanks,
Riyaz
Display map like globe using map suite core
Hi riyas,
I think it is a wrap date line problem, you can use the code as below:
worldLayer.WrappingExtent = new RectangleShape(-180, 90, 180, -90);
worldLayer.WrappingMode = WrappingMode.WrapDateline;
Thanks,
Hi Don,
Thanks. it works fine.
One more thing, I am trying to restrict Lat(-90 to +90) region. But not getting properly. Could you please share code to fix Lat region with in -90 to +90, beyond will be restrict.
Thanks,
Riyaz
Hi Riyaz,
I am sorry we don’t have existing API for implement this requirement. If that’s important for you, please contact our sales and see whether you can get a professional service for it.
Regards,
Don
Hi Don,
Thanks for your help. I got it by map RestrictedExtent.
Regards,
Riyaz
Hi Riyaz,
Very glad to heart that it works with you.
Regards,
Peter