-
Notifications
You must be signed in to change notification settings - Fork 283
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
Frontend marker not the same as the marker being shown on the admin site #264
Comments
You inverted |
Hi there
Thank you very much for reaching out. I had previously tried to interchange
all the values. I have also tried interchanging now, but unfortunately, the
map is stuck in the same position when i edit the HTML file. Is it possible
that the interchanging was supposed to be done elsewhere?
*Kevin Okome <[email protected]>*
*Data Science/Statistics 2019 Graduate <[email protected]>*
*Winona State University <[email protected]>*
…On Thu, Nov 7, 2019 at 2:34 PM Gagaro ***@***.***> wrote:
You inverted geometry.x and geometry.y.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#264?email_source=notifications&email_token=AKIC6KGVUUM5PWRFSA6L7GDQSRUUJA5CNFSM4JKMGXP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDNRXFQ#issuecomment-551230358>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKIC6KCJHRZ5JSJG2UHVVQ3QSRUUJANCNFSM4JKMGXPQ>
.
|
What baffles me is that what is being displayed on the admin site is correct but what is on the frontend isn't. Is there a way of checking what is being displayed on the admin site. If i can have a look at the code which is used to get the values in the admin site i think i can be able to replicate that with the HTML file that shows the front-end |
I figured it out. Thank you though |
So after i have done everything right, and its all working good, on displaying the map on the front-end, this is the HTML code i used
{% load leaflet_tags %}
{% leaflet_css %}
{% leaflet_js %}
{{ building.osm_id }}
{% leaflet_map "main" callback="map_init" %}This produces a marker like it is supposed to, and this is the marker i am talking about
Now my issue is that this marker is not the same as the marker that is shown in the admin side, which i am interested in. Check out the marker on the admin side
Note the number at the top is the osm_id which should be the same as the number being displayed on top of the frontend
Kindly check this issue out and any help on this project would be much appreciated.
The text was updated successfully, but these errors were encountered: