FAQ

How do I disable the Google Map?

To disable the map globally, simply remove the map-key attribute in the album config:

 
<google 
  ad-client="..." 
  ad-channel="..." 
map-key="..."
/>
 

 

You can also disable the google map for a specific journey leg by using the attribute show-maps="" in the leg configuration XML, or by setting it to any value that does not include the "google" sequence:

 
<trip-leg 
    x="202" 
    y="291" 
    photo="1" 
    longitude='23.50941' 
    latitude='37.74234'
show-maps="michelin"
path="/viajes/2006/aegina" from="2006-08-11" to="2006-08-11" > ... </trip-leg>
 

Of course, if a journey leg does not have a longitude/latitude pair, the map will not be shown regardless of any other considerations.

How do I find the longitude/latitude of a place?

There are many websites that offer this service for major places. Some of them are:

Have in mind that the longitude/latitude that JPBlog uses are expressed in decimal, rather then in minutes and seconds. So if a web page says for example that the longitude of Sofia is 42º41'45" North, you must convert the minutes and seconds part to decimal:

Decimal Part = Minutes/60 + Seconds/3600.

So using the above formula, the decimal equivalent of 41'45" = 41/60 + 45/3600 = 0,683333 + 0,125 = 0,6958333. Thus, the longitude in decimal format is 42,695833

If the location you are seeking is in Europe or the US, the best way is to use Via Michelin. On the main page, enter the name of the city you are looking for:

If there are several possible locations that match that name, a map will appear showing all possible locations. Choose the correct one. After that step, a map of the area will appear. On the left side there will be a "Send to your GPS" link:

Clicking on that link will send you an XML file that contains the longitude and the latitude of the location in decimal format - just the format that JPBlog needs. Simply extract those attributes and paste them in the XML file of the trip:

 

 
      <?xml version='1.0' encoding='UTF-8'?>
      <!DOCTYPE poi_list SYSTEM 'http://www2.viamichelin.com/fwkjs/dtd/poiList_export.dtd'>
      <poi_list version='1.0'>
<poi name='Sofija' longitude='23.31431' latitude='42.69594'/>
</poi_list>
 

How do I include a Michelin Map of my location?

Go to Via Michelin and follow the steps described above to get to the map of your location. Now in the upper right corner there will be a "create a link to this map" link:

 

Click on it. A pop-up window will appear:

Now, scroll to the right in either field until you find a text like mapId=something:

The value of mapId (up to, without including, the ampersand) is the value you need (in the above example, it's "-tm44qzzpinrx8o"). Specify this value as the value of the michelin-data attribute in a journey leg:

 
  <trip-leg 
    x="172" 
    y="93" 
    path="/trips/2006/sofia"
    photo="P1010003.JPG"
    longitude='23.31431' 
    latitude='42.69594' 
michelin-data="-tm44qzzpinrx8o"
from="2006-08-04" to="2006-08-06" >