boundaries-io

FREEMIUM
Verified
By Boundaries-io | Updated 5 days ago | Mapping
Popularity

9.8 / 10

Latency

312ms

Service Level

100%

Health Check

N/A

Back to All Discussions

how do I draw an overlay on mouse over for a zip code boundary

Rapid account: Itapandroid
itapandroid
7 years ago

I’m drawing zip code boundaries using geojson on a google maps. I’d also like this to be intractable. If someone hovers the mouse over a zip code, it should bring up a “cursor” that reads “We serve zip code: xxxxx”. Any ideas?

Rapid account: Homeown
homeown Commented 4 years ago

any tip on efficiently calculating the center of each zip polygon? google API requires providing latlong for a marker/label/overlay and that means (common case) calculating the center of each polygon in order to place that marker.
Any advice?

Rapid account: Vanity Soft
VanitySoft Commented 7 years ago

This can be done easily with our API and GoogleMaps for example:
https://developers.google.com/maps/documentation/javascript/datalayer

Thanks!

Join in the discussion - add comment below:

Login / Signup to post new comments