I was wondering if there is a way to embed some text on Google Maps. I searched the JS API and came up with some ideas, but I wasn't really satisfied with them.
The situation is that I draw some polygons on the map, and I want to show some numbers in that polygon. I implemented it with infoWindows now, but I want the numbers embedded into the map. It might have something to do with MVCObject or OverlayView, but I wasn't able to figure out开发者_运维百科 how.
Mike Williams made a library that should solve your problem.
Check the Elabel extension for google maps.
精彩评论