Hi,
Please tweak the sample posted in infragistics site (link given below - which currently displays world map) to display US map alone along with Alaska, Puerto Rico and Hawaii.
https://www.igniteui.com/map/geo-shapes-series
https://www.igniteui.com/map/json-binding
Our requirement is to display US map alone and show all US states including Alaska, Puerto Rico and Hawai, States should be colored and should be clickable. We should be able to display text when hover on state.
Thanks
Ashok
Hello Ashok,
Based on your description, you will need to look for a custom shape file covering the desired geographic locations. The IgniteUI samples contain some examples (world countries, cities and North America primary roads) which are provided as an illustration to the capabilities of the map component. I would suggest therefore looking for a shape file covering the desired regions.
Regarding showing text on shape hover, a tooltip template may be used as already shown at:
The click of a shape can be handled via the SeriesMouseLeftButtonDown event:
https://www.igniteui.com/help/api/2014.1/ui.igMap
Please feel free to contact me if you need more information.
Thanks for your response.
Currently i could loaded USA map along with Alaska and Hawaii.
Please run attached project solution see the output.
My requirement is to load all USA states/territory(Puerto rico is territory of USA).
So i want to merge USA and puerto rica maps together and loads as a single map. Please see my previous attached screen shot.
Is there any option is available to merge one or more country and loads as single map.
What i have to do for that?
Regards,