I’m new to google map.
I’m developing an application about showing cars on google map but google map has not the names(label) of most of roads in over area. I want to develop an system to allow the user to add these names on the map. positions and names will keep on database. My question is that how to add road name on the map with javascript. I can send the names and positions to a function in javascript code but I need an API to add these names on map temporary till user close the application.
You see that with increase/decrease in zoom level, road names becomes bigger or smaller or disapear. With regular marker we can not do this.
I’m new to google map. I’m developing an application about showing cars on google
Share
One option is to use the InfoBox
One example of that here
You can write code to change the size of the font and/or not to display the InfoBoxes depending on the zoom level (the example above only displays the infoboxes when you are zoomed in enough for it to be reasonable).
code snippet: