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
smiley
Posts: 1,466
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.

Please use plain text.
Developer
oniongarlic
Posts: 72
Registered: ‎10-19-2012
My Device: Playbook, BB10DevAlphaB
My Carrier: Sonera, Saunalahti

Re: How to set icon for Google Map maker?

Does your app have access to the shared files ?
Please use plain text.
Developer
smiley
Posts: 1,466
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?

Please use plain text.