Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Showing Text on Google Maps

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.

like image 250
Erkan Haspulat Avatar asked Nov 14 '22 07:11

Erkan Haspulat


1 Answers

Mike Williams made a library that should solve your problem.

Check the Elabel extension for google maps.

like image 63
Riccardo Galli Avatar answered Jan 01 '23 11:01

Riccardo Galli