javascript - highlight building google maps v3 -
im trying highlight specific building within map using google maps v3 api. wondering if had idea how this. i've been looking through google api documentation , come across nothing @ moment.
for example: http://goo.gl/maps/gyrdb - map of section manhattan, can see 3d building. im trying highlight specific ones on hover.
thanks :d
if have information building is, can use polygon highlight it. if don't have information building is, out of luck. google maps api doesn't have way of interacting map @ level.
now, suppose 1 thing could is:
- download google maps tile,
- find point in image user clicked on,
- do flood fill of point awful colour,
- set clear pixels not colour,
- overlay image on top of map
you need clever buildings lie in more 1 tile.
however, might run afoul of terms of use. know disallow modifying artwork; not sure if count modifying artwork; you'd need @ tou , maybe ask lawyer. or ask google. (don't ask me, not lawyer.)
Comments
Post a Comment