September 9, 2015 at 5:57 am #23977
Now I tried to use the new location feature of Symbiostock version 2.0.
Now the first problem is this (copied from Google Chrome’s console):
Mixed Content: The page at 'https://henri.photo/stock-images/national-museum-of-finland/' was loaded over HTTPS, but requested an insecure script 'http://maps.google.com/maps/api/js?sensor=false'. This content should also be served over HTTPS.
The second problem is that I don’t know what is the correct format for latitude and longitude information. According to Google’s page coordinates may be formated at least three different ways:
- Degrees, minutes, and seconds (DMS): 41°24’12.2″N 2°10’26.5″E
- Degrees and decimal minutes (DMM): 41 24.2028, 2 10.4418
- Decimal degrees (DD): 41.40338, 2.17403
What is the correct one? Now when I copied coordinates from the Google Maps, it was formated like this: 60.174515, 24.932158 (the location of National Museum of Finland). It wasn’t working or at least there is no a sensor/pin (because of this: http://maps.google.com/maps/api/js?sensor=false) and zooming is too wide.September 9, 2015 at 6:31 am #23978
Regarding first issue:
Edit front-product-page.php and change that script reference to reflect:
This will be fixed in the next release, thanks for pointing it out. It’s happening because your whole site is SSL.
The map coordinates are working, just not zooming in. I will look into adding additional settings so you can set the zoom percentage, if that is possible with embedded Google maps.September 9, 2015 at 6:36 am #23979
I have the GPS coordinates in some of my images from Lightroom, but my maps just give a very broad overview of the area. Although when I checked just now, no map appeared at all for images that should have these coordinates. It just seems to be a few images that show this broad overview:
Many of the similar images on that page were all coded with the map coords, and exported and uploaded at the same time, but they don’t show the map.
SteveSeptember 9, 2015 at 6:36 am #23980September 9, 2015 at 6:46 am #23982
If those images were added before upgrading to 2.0, the processor will read them automatically eventually. If they were added after 2.0, then there’s another issue. Alternatively, try re-saving them – that should also check for GPS data.
Edit: I see that they were added pre-2.0, so the GPS should show up by re-saving them or just waiting.September 9, 2015 at 6:59 am #23985
They are all the original images I uploaded – I’ve added nothing since Version 2. So I’ll wait and see. No biggy though. What would be interesting to think about is a world map showing all the location of my images and an ability to zoom into a specific area and then see which images have been taken there and then select and buy one! The Lightroom map module does that, but it does sound quite complex!
Just something to dream about for version 3….
SteveSeptember 9, 2015 at 4:05 pm #23993
Thank you Robin!
I now recreated the whole code:
Now it is working the way I want. It has a marker and even the same colors as my site. My only question is how I save those customization without losing them when plugin updates?September 9, 2015 at 4:27 pm #23994September 10, 2015 at 12:49 am #24004September 10, 2015 at 1:59 am #24006
You must be logged in to reply to this topic.