Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I need to uses google maps in order to show sales. In aditional i need to divide Argentina in several regions, could include several states or divide them. How can i draw with QV customs regions?
I resolve this problem using the parameters path that have the google API. In this parameter i send the poligon that i need to create.
more information about static map with poligon here:
https://developers.google.com/maps/documentation/staticmaps/?hl=es#Paths
Here an example:
http://maps.google.com/maps/api/staticmap?size=480x480&path=color:0x0000ff|weight:5|fillcolor:blue|-34.56482,-58.41362|-34.59704,-58.46752|-34.63067,-58.43731|-34.62389,-58.39096| -34.62163,-58.38135|-34.59111,-58.38203|-34.58461,-58.38032|-34.56482,-58.41362&sensor=false
You can use google if the regions are political; i mean if there is an ISO code for the region. In case of no ISO codes there is no free option available, you have to use mapping extensions like globeqlik or geoqlik.
Kiran.
Another option is IdevioMaps, featured at QlikDemos and QlikMarket.
Supports both political and custom regions.
Disclaimer: I work for Idevio.
Thanks,
Patric
Many thanks Patric, but first im looking for a free solution
but many thanks for your propossal
OK, just so you know, Google is only free for public web sites. For internal applications the Google Maps Premier is mandatory which starts at $10 000/year.
Thanks,
Patric
I resolve this problem using the parameters path that have the google API. In this parameter i send the poligon that i need to create.
more information about static map with poligon here:
https://developers.google.com/maps/documentation/staticmaps/?hl=es#Paths
Here an example:
http://maps.google.com/maps/api/staticmap?size=480x480&path=color:0x0000ff|weight:5|fillcolor:blue|-34.56482,-58.41362|-34.59704,-58.46752|-34.63067,-58.43731|-34.62389,-58.39096| -34.62163,-58.38135|-34.59111,-58.38203|-34.58461,-58.38032|-34.56482,-58.41362&sensor=false
Hi Doplear,
good example but if I want to have more polygons?
I need a thing similar at this http://econym.org.uk/gmap/example_states.htm but this page use javascript and a xml file with latitude and longitude for the single polygons.
Thanks a lot
Luca Jonathan Panetta
Hi,
I solved it. I concatenate more &path=....
but this make a problema, if I have so much of paths the get request could be aborted.
Regards
Luca Jonathan Panetta