Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 1,627
Registered: ‎07-14-2008
My Device: Z10
My Carrier: Fido

How to set icon for Google Map maker?

In the webmapview example it sets the Google map marker icon with

 

local:///assets/images/on_map_pin.png

 

I want to set my own icon stored on the device or sd card.

 

I have tried

 

file:///accounts/1000/shared/documents/on_map_pin.png

 

and it does work.

Developer
Posts: 222
Registered: ‎10-19-2012
My Device: Playbook, BB10DevAlphaB/C, Z10
My Carrier: Sonera, Saunalahti

Re: How to set icon for Google Map maker?

Does your app have access to the shared files ?


Kaj-Michael Lang, Home.
Author of: Onki and RetroPlayer
Developer
Posts: 1,627
Registered: ‎07-14-2008
My Device: Z10
My Carrier: Fido

Re: How to set icon for Google Map maker?

Yes.  It works fine with BlackBerry Map.

 

I read that Google Map marker icon path only accepts URL http:// type and does not work for URI file://

 

Is this correct?