Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Maps -> Displaying only country borders and onclick event

Is there anyone experienced on Google Maps? I am planning to add a world map to my web service and then display number of statistics for each country I specify.

I can specify map type by "mapTypeId: google.maps.MapTypeId.ROADMAP" but there's no map type to show country borders only.

Any suggestions?

Thanks. Mat.

like image 678
TamTam Avatar asked Oct 15 '22 02:10

TamTam


1 Answers

Google Maps allow you to style the maps, ie change the different elements (roads, ...) representations. http://code.google.com/apis/maps/documentation/javascript/maptypes.html#StyledMaps

Here is the full list of styleable elements: http://code.google.com/apis/maps/documentation/javascript/reference.html#MapTypeStyleFeatureType

like image 112
adamse Avatar answered Nov 13 '22 22:11

adamse