Skip to content
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

Single Marker at address #25

Open
HarveyEV opened this issue Jul 17, 2015 · 3 comments
Open

Single Marker at address #25

HarveyEV opened this issue Jul 17, 2015 · 3 comments

Comments

@HarveyEV
Copy link

I am generating the lat/lng into dynamically set tvs and rendering the map fine with gmarker. I can't figure out from the docs how would I set a single marker on a dynamically generated map? I am only setting the tvs on a single resource at render time through my snippet. I've tried passing this:

[[Gmarker? &address=[[+venue-address-1]] [[+venue-city]], [[+venue-region]] [[+venue-postal-code]] &latlng=[[*latitude]],[[*longitude]] &height=260 &width=260]]

but I get nothing but the map. Should I set something like &resources=[[~*id]]?

@fireproofsocks
Copy link
Member

Which version are you using? My head is so far into the code at the head that I can't even remember how we set up the old version...

@HarveyEV
Copy link
Author

Version 1.0pl. tried passing the &resources=[[*id]] param but still no marker.

@HarveyEV
Copy link
Author

Marker issue resolved but async loading in modals not working. Am currently using version form ModX repo. Will try latest.

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

No branches or pull requests

2 participants