How do I set the URL for a png file stored locally?
gm1.AddMarkerEx("mk1"&i , l1, l2,locid &", "&city , str, "http://www.munmansys.com/www/muniman/images/truck3.png",True )
This works... However, I thought localhost may work as well - when developing...
Thanks
B4X:
' this one works - of course...
gm1.AddMarkerEx("mk1"&i , l1, l2,locid &", "&city , str, "https://developers.google.com/maps/documentation/javascript/examples/full/images/beachflag.png",True )
' None of these do. How do I set the URL for a file stored locally?
' gm1.AddMarkerEx("mk1"&i , l1, l2,locid &", "&city , str, "http://localhost/"&File.DirApp&"/www/muniman/images/truck3.png",True )
' gm1.AddMarkerEx("mk1"&i , l1, l2,locid &", "&city , str, "localhost"&"/www/muniman/images/truck3.png",True )
' gm1.AddMarkerEx("mk1"&i , l1, l2,locid &", "&city , str, File.DirApp&"/www/muniman/images/truck3.png",True )
' gm1.AddMarkerEx("mk1"&i , l1, l2,locid &", "&city , str, "../www/muniman/images/truck3.png",True )
gm1.AddMarkerEx("mk1"&i , l1, l2,locid &", "&city , str, "http://www.munmansys.com/www/muniman/images/truck3.png",True )
This works... However, I thought localhost may work as well - when developing...
Thanks
Last edited: