Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

how to add a marker point on a specific location ? #59

Closed
jym92 opened this issue Aug 20, 2019 · 3 comments
Closed

how to add a marker point on a specific location ? #59

jym92 opened this issue Aug 20, 2019 · 3 comments

Comments

@jym92
Copy link

jym92 commented Aug 20, 2019

Hi, I use your package and It's work fine but now I want to add some markers on specific locations.

I just want to be able to add a marker with a specific size and color on a specific location( it's not important if the marker is a squarre or a circle).

but I don't find any advice or example to do it....

thanks for your help :)

@ChristianTBaker
Copy link

I don't work on this repo, but I've been working with it for a little bit. Most of what you want can be achieved in the MainPageViewModel constructor. If you just add a new PointAnnotation to the Annotations, it will add a new point marker. You should be able to add any Annotation object here and it will be added to the map. You can also directly set a new CenterLocation to start from here. Hope that helps. I'm trying to figure out if the Android and iOS librarys work from this repo. They use the local namespace for the main project, but use nuget packages for android and iOS respectively.

@tuyen-vuduc
Copy link
Contributor

Hi,

To add a marker point, it's adding a SymbolAnnotation to the map.

Please check out one of our samples ported from Android samples.

P/S: It's recommended to read Mapbox document first and/or to scan more info there.

Cheers.

@nhatng
Copy link

nhatng commented Mar 29, 2020

Hi @tuyen-vuduc
Please help me to show marker with text. Although I've set value to properties: Tile, SubTitle of SymbolAnnotation object, but it only show image of marker only.

Please help me. It is urgent to me.
thank you very much
Nhat

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants