boundaries-io

פרמיום
Verified
על ידי Boundaries-io | מְעוּדכָּן a month ago | Mapping
פּוֹפּוּלָרִיוּת

9.8 / 10

חֶבִיוֹן

230ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

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!

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות