Marker icon from url


I try to show icon of marker from url, but I can’t find the property way.

var marker = new Marker();
marker.title =‘title’;
var icon = ‘http://…png’;
marker.position = mapsModule.Position.positionFromLatLng(,res.lng);

But this does not work.
Anyone help?


The plugin doesn’t support loading a marker image from remote server, it seems to support marker image only from app resources. You may override that / request plugin author to support different source of images.