It possible to use the msid in the link to a map at maps.google.com, see:

{mosmap msid='105241431495057638574.00043ff7fc3f8d1eb0cbf'}

 Print 

You can define multiple msid's by adding an iindex. Google renderer has a limit of maximum 25 kml layers on one map. For example

{mosmap msid[0]='105241431495057638574.00043ff7fc3f8d1eb0cbf'|
msid[1]='212125970558349930341.0004ba7f76f2fd4ce1ecd'
|centerlat='0'| centerlon='0'| zoom='1'}

To create the KML goto maps.google.com and select My Maps and follow these steps:Create kml file in maps.google.com

  • Click on link create new map (1) and make your own markers, polylines and polygons.
  • For using a map created by somebody else or a route created by maps.google.com:
  • Click on link import (2)
  • Place url in second field and add at the end &oe=UTF8&output=kml (3)
  • Press button upload (4)
  • Add or change the map according to your wishes
  • Don't forget to save the map.
  • You can find the MSID at maps.google.com by clicking on link.Find msid for kml
  • Copy the value of the parameter MSID in the given url: {mosmap msid='209290366228951928993.0004c05e9829f52a1251b'} and remove the other url parameters and the http:// part.

Linkes generated by google does not work anymore. Google removed the option to generate a kml. No solution yet to easily show a google maps query url in google maps api version 3.

So the following example does not work anymore:

{mosmap kml='https://maps.google.com/maps?f=d&hl=pt-BR&geocode=
&addr=S%C3%A3o+Paulo,+Brazil
&daddr=-23.074678,-46.358185+ to:Joan%C3%B3polis,+Brazil
&mra=dpe&mrcr=0&mrsp=1&sz=10 &via=1&sll=-23.21342,-46.45761
&sspn=0.574262,0.85144&ie=UTF8 &ll=-23.190863,-46.470795
&spn=1.148712,1.702881 &z=9&oe=UTF8&output=kml'}