angularjs - Generate gps marker's icon in CSS3 for OSM -


i'm generating openlayer map different markers. controlled angular , leaflet directive.

my question : i'm wondering if it's possible generate marker's icons in pure css3 instead of using png images ? code hope replace.

gps_icon: {             iconurl: '/static/lib/leaflet/images/marker-gps.png',             shadowurl: '/static/lib/leaflet/images/marker-gps-shadow.png',             iconsize:     [40, 40],             shadowsize:   [40, 40],             iconanchor:   [20, 20],             shadowanchor: [18, 18],             popupanchor:  [10, 20]         } 

if has try this, i'm curious know if possible , how ? thank !

afaik there no such js webmap lib supports css/font based marker icons. feel free ask such ol3 feature @ bug tracker...


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -