Android Google Maps Custom Marker From Path -


i trying add custom marker map in android. trying add custom marker path using frompath(string mybus). map crashes after build it. ideas problem is?

public void onmapready(googlemap googlemap) {     mmap = googlemap;    string mybus = "https://maps.google.com/mapfiles/kml/shapes/parking_lot_maps.png";      mmap.setmaptype(googlemap.map_type_hybrid);     // add marker in sydney , move camera 93     latlng sydney = new latlng(41, -90);     mmap.addmarker(new markeroptions().position(sydney).title("marker in sydney").icon(bitmapdescriptorfactory.frompath(mybus))); 


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -