OpenLayers create marker (feature with icon) from WKT

المشرف العام

Administrator
طاقم الإدارة
I have a point object WKT. Like this: POINT (25.04568 48.221548). Also I have an icon in my project folder.

My goal is to show on a map an icon that represents a feature. Can it be just a normal OpenLayers feature (if yes, then how can I define that it should represent and icon) or do I need to create an OpenLayers marker (somehow create LonLat from WKT)?



أكثر...
 
أعلى