April 29, 2014 at 5:28 pm #999
I created a map on Mapbox and saved the Mapbox ID in Aesop’s “Customize” page. The map shows up when I include Starting Coordinates in the post but when I change the Starting Coordinates the map still shows the same view.
How can one show a different location on a map?
April 30, 2014 at 12:59 pm #1017
- This topic was modified 7 years, 5 months ago by Parham.
So just to clarify you entered a starting location, and now you cannot change it?April 30, 2014 at 2:57 pm #1032
No. As I understand we can use one map per site (by adding its code to Genji’s “customize” page) but we can show different parts of the same map on different posts by saving different “Starting Location” on different posts. Again, as I understand this starting location is in Latitude/Longitude format. Something like “35.709, 51.385”.
If that is correct then I have to be able to show New York’s map on one post and Paris’s map on another by using different Latitude/Longitude numbers on each post. The problem I have is that no matter what Latitude/Longitude I enter as “Starting Location” I still get the same map as it is saved in Mapbox.
Please let me know if I do the process right, or if it should be done in a different way.April 30, 2014 at 3:17 pm #1036
I still get the same map as it is saved in Mapbox.
That’s correct. Once you save the map id that’s all you need to do. Mapbox only displays the map tiles, and they are the same for all instances of the map component on your site. Each post can have one map component, with individual markers.
Does this help clear things up?April 30, 2014 at 3:22 pm #1037
So what is the use of Starting Locations?April 30, 2014 at 3:23 pm #1038
Say for example you have added three markers to a map. You would use the Starting Coordinates to center the map where you’d like it to be over the markers.April 30, 2014 at 3:26 pm #1039
That is what I am taking about. I cannot use the Starting Coordinates to center the map where I’d like it to be. No matter what starting coordinates I enter the map is still centered to its default location.
April 30, 2014 at 3:32 pm #1041
- This reply was modified 7 years, 5 months ago by Parham.
ASE doesn’t supply a default location.
Here I have added a marker, and starting coordinates.
And this shows on the post like so:
Now, I have changed the starting coordinates:
and as you can see, the location that the map is centered on , has changed.
Is this happening for you?May 4, 2014 at 1:13 pm #1100
Sorry, I was away for a few days. Yes, what you show here is what I need but I cannot reproduce it on my site. The map is always the same no matter what starting coordinates or markers I add to the box.May 4, 2014 at 3:26 pm #1101
Can you show me a screenshot of your post area in WordPress admin? I would like to see what you have entered for the maps info.May 6, 2014 at 6:25 pm #1170
My apologies. My mistake. I sat up the maps incorrectly.
I think I did not understand how the maps work until now.May 7, 2014 at 1:23 pm #1173
- You must be logged in to reply to this topic.