-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to bind data to the map in the code behind? #3
Comments
Hi @kvnphllps - you can only bind the camera position of the map at the moment: In your code https://github.com/kvnphllps/nativescript-map-app/blob/master/app/main-page.js#L6 you can add those to your pageData
For marker data, you'll need to add each one in javascript as you're doing in |
@dapriett, Thanks again! |
Hi @dapriett - Sorry to keep bugging you! I was wondering how one binds data to the map in the xml:
from the code behind? I've tried setting the
bindingContext
ofgMap
with no luck. Any suggestions?The text was updated successfully, but these errors were encountered: