I am using the Google Maps API. However, since I have so many icons, I try to use them with mapping technology. So I need to add the icon as a div instead of img. Is there any way to add icon to google maps like?
Thank.
Yes. Put your image in a div, and then in version 2 use the GMap2.fromDivPixelToLatLng (or fromContainerPixelToLatLng) method for or in v3 from the DivPixelToLatLng (or fromContainerPixelToLatLng) from the MapCanvasProjection class.
, , , V3 - origin MarkerImage. V2, .
Source: https://habr.com/ru/post/1751112/More articles:Is there a C ++ equivalent for the Java Collection interface for STL container classes? - c ++Hudson + Poll SCM - сначала воссоздайте проекты по добыче? - javaiPhone 4 - TabBar Icons - iphoneDoes session hash matter? - algorithmSimple Spring -Maven HelloWorld -> appContext.xml not found? - springReading USB using .NET. - .netCSS style #elements [1-10] - arraysREST Architecture - Resources and Methods - methodsCSS background color is picky - cssQuoting through a div in jQuery - jqueryAll Articles