I want to know how to show infowindow
on polyline
in using Google Maps Api V3
? and to appear in the middle of the polyline ?!
相关问题
- How do you change the color of the dotted line on
- Add HTML class/ID to Google Maps Marker (API V3)
- Google maps how to force marker on the nearest roa
- Google Maps API v3 Hiding and showing a circle bou
- google maps adding overlay layer above UI and mark
相关文章
- Avoiding “Sorry, we have no imagery here” with Goo
- Cursor disappears in Google Maps application
- How to draw a proper polylines on google maps [clo
- Draw a rectangle arround a polygon when given in c
- Disable 'use strict' in Google Maps Drawin
- Unable to rotate kml layer
- Opening only a infobox at a time when multiple mar
- How to change strokeColor between points when usin
Firstly you will need to calculate the middle/center of the polyline. This has been discussed and answered here; https://stackoverflow.com/a/9090409/787921
Then you will have to open the infowindow;
find the middle point and set your custom view .