I created an ASP.Net project with jQuery and was able to render igMap with shapefiles - .shp, .dbf
However, the map image is very small. I want to render it zoom.
How can I auto-zoom the map image?
Any help is very much appreciated.
Hi, trifee
I’ll provide you with a working sample that auto zooms the data displayed on the map in case of geographic symbol series and in the case of geographic shape series. Just need a couple of days test it since it is a bit complicated.
Cheers, Lazar
Thank you so much!
trifee
You can find attached an HTML sample which implements auto-zoom in the case of geographic shape series. It contains a separate JS file with a helper class which contains a variety of helper functions that do the trick. When the chart is rendered initially the helper enumerates all shapes and calculates the proper window rectangle so that all shapes are visible. The sample also implements zooming on a shape when that shape is clicked with the mouse (or tapped on a touch screen).
Please, note that the sample must be hosted on a web server in order to work. Review and post here if you need some information.
Thank you so much! I will have a look. In our company, we have used the Infragistics Map control for Silverlight before and now, we will be using Infragistics Map control for jQuery. Thank you very much for your continued support!