- Posts: 11
- Thank you received: 0
OS Property support center
Map Coordinates Wrong in Frontend
- Anthony Mezas
- Topic Author
- Offline
- New Member
-
Less
More
11 years 2 months ago #42543
by Anthony Mezas
Map Coordinates Wrong in Frontend was created by Anthony Mezas
All Frontend Coordinates (pins) are being displayed wrong in the Map Search.
In the admin panel they are all correct and in the detail page they are also showing correctly.
Is this a bug ?
In the admin panel they are all correct and in the detail page they are also showing correctly.
Is this a bug ?
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13059
- Thank you received: 1696
11 years 2 months ago #42574
by Mr. Dam
Replied by Mr. Dam on topic Map Coordinates Wrong in Frontend
Hi,
Thank you for your report. We have checked the Google map API function and we found the different between 2 Google map API about the location of maker.
At the backend, we use the Google map API of Google
At the front-end, we have Jquery Google Map API
And 2 above libraries return a bit different places for the same lat long address.
We have the proof for this problem.
Please open it:
osproperty.ext4joomla.com/gmaptesting/demo/marker.html (Google map API)
and
osproperty.ext4joomla.com/gmaptesting/demo/marker.php (Google Map JQuery API)
You can see the bit distance for one maker (You can view source code of 2 pages to see they have the same coordinates)
The main problem is because we want to have the layout as map view, so we should use Google Map Jquery API at front-end while we need simpler Google map layout for backend, so we should use Google Map API for back-end.
Again, we are sure this issue doesn't come from OS Property, it's difference between 2 Google API libraries.
Thanks
Dam
Thank you for your report. We have checked the Google map API function and we found the different between 2 Google map API about the location of maker.
At the backend, we use the Google map API of Google
At the front-end, we have Jquery Google Map API
And 2 above libraries return a bit different places for the same lat long address.
We have the proof for this problem.
Please open it:
osproperty.ext4joomla.com/gmaptesting/demo/marker.html (Google map API)
and
osproperty.ext4joomla.com/gmaptesting/demo/marker.php (Google Map JQuery API)
You can see the bit distance for one maker (You can view source code of 2 pages to see they have the same coordinates)
The main problem is because we want to have the layout as map view, so we should use Google Map Jquery API at front-end while we need simpler Google map layout for backend, so we should use Google Map API for back-end.
Again, we are sure this issue doesn't come from OS Property, it's difference between 2 Google API libraries.
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Anthony Mezas
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
11 years 2 months ago #42633
by Anthony Mezas
Replied by Anthony Mezas on topic Map Coordinates Wrong in Frontend
Dam,
I understand that you have chosen to use the Jquery Google Map API to display on the front end, and Google API for the back end and detail page.
Please understand in Real Estate, the map view is important to indicate where EXACTLY the property is located.
Like this the map on the front end is unreliable. If the API-library according to you is incorrect due to Google. I suggest you show me how to use the same (one one) Google API in front and back in OSproperty. I can not wait on a new release for this.
Thanks for understanding
I understand that you have chosen to use the Jquery Google Map API to display on the front end, and Google API for the back end and detail page.
Please understand in Real Estate, the map view is important to indicate where EXACTLY the property is located.
Like this the map on the front end is unreliable. If the API-library according to you is incorrect due to Google. I suggest you show me how to use the same (one one) Google API in front and back in OSproperty. I can not wait on a new release for this.
Thanks for understanding
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13059
- Thank you received: 1696
11 years 2 months ago #42639
by Mr. Dam
Replied by Mr. Dam on topic Map Coordinates Wrong in Frontend
Hi Anthony,
I can help you to add the map view (of old version) into your OS Property system. But it won't nice as current now. Are you ok for me to do it?
Thanks
Dam
I can help you to add the map view (of old version) into your OS Property system. But it won't nice as current now. Are you ok for me to do it?
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Anthony Mezas
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
11 years 2 months ago #42735
by Anthony Mezas
Replied by Anthony Mezas on topic Map Coordinates Wrong in Frontend
Hi Dam, Yes please do so because I need a correct display of locations...
I will see in a later moment how to style the map...
developers.google.com/maps/documentation/javascript/styling
I will see in a later moment how to style the map...
developers.google.com/maps/documentation/javascript/styling
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.