|
Google Maps Web Pages |
Top Previous Next |
|
MPSuperShape can export some or all of the shapes to a web page that uses Microsoft Virtual Earth or Google Maps. With Google Maps selected, the Export Options dialog box will look like this:
Google Maps requires the user to have a Google Maps API Identifier. This can be obtained from the following website, for free:
http://code.google.com/apis/maps/signup.html
The real identifier is much longer than the one in the above dialog box image. It is strongly recommended that you cut & paste the identifier, and not to try and type it in manually. MPSuperShape simply inserts this identifier text into the resulting HTML, and does not attempt to verify it. Therefore you could use a variable identifier that is recognized by your web server. This may be easier to maintain in a production environment.
MPSuperShape has the option to write the Google Maps map as either a full web page or as a page fragment. The full web page option is useful for testing because it produces a complete web page. The fragment web page produces a text fragment of HTML that can be included within the <body> tag of a HTML page. This is probably more useful in a production environment where a larger page is set to include the fragment (eg. using SSI). To update the map only requires the fragment to be updated, and not the full page.
The Alpha slider will be displayed. Virtual Earth shapes can have their alpha (opacity) set. MapPoint does not support partial alpha, so MPSuperShape lets you set the alpha for all shapes that exported. Alpha is useful because you you can give a shape partial transparency. This lets you view the shape as an overlay, in addition to the map that is covered by the shape. You can set the alpha anywhere between 0% (fully transparent) to 100% (fully opaque). |