Reputation: 2531
The main goal is for me to display a US map in google maps, highlighting all states. States should be plain colored, no markers, no city names, etc.. just plain colored, only showing the borders of each state. Then when clicking any state, a popup window will appear containing various info about the state ( ex. population, etc..) The pop up window is the same as the pop up window you see when clicking a marker.
I know some basic google maps api stuff, but I could use some help. Code samples would be awesome! Thanks.
Upvotes: 0
Views: 495
Reputation: 1295
Do you actually need geo info? Google maps probably overcomplicates it if you don't. You might find it easier to use some simple javascript library that provides you with just the shapes.
Have a look at this for a start: newsignature.github.io/us-map/
stateSpecificStyles
lets you customise the initial color of each state
Upvotes: 1