Table of Contents
  • I have a "Warnings" button on my map. How do I make it go away?

    If you have a button label "Warnings" in the lower-right corner of your map, you probably have a mistake in your GMapEZ HTML. Click on the "Warnings" button to see descriptions of the mistakes that GMapEZ detected; fix these to make the button go away. By reviewing the list of warnings and the related documentation, you should have no trouble resolving the problems. If you still can't figure out what's wrong, send me the URL for your page.

  • How can I provide location data in an XML file instead of your goofy HTML format?

    Which XML format did you have in mind? Currently, you'll have to write some code (JavaScript, PHP, or something else) to generate the GMapEZ HTML format. If there is enough demand for EZ to support one particular XML format, I may add it later. In the mean time, remember that by embedding the data in standard HTML, you have fewer files to maintain, search engines can easily parse and understand the HTML in your info windows.

  • I can't get my map to show anything except Fort Wayne. What did I miss?

    In order to change the default area displayed by your map, you must Add a marker or Specify an extent. If you've done this, adding an <a> tag, and it still doesn't work, there's probably something wrong with the URL you pasted. Make sure it has "ll=" followed by some numbers. If it doesn't, you probably forgot to double-click or drag on the map after doing an address search. I recommend double-clicking on the exact spot where you want a marker (or the center of your map) to be. Only after double-clicking should you choose "Link to this page" and copy the URL.

  • How can I put a mini map (blowup) inside an info window, like Google does for map directions?

    For now the best way is to put an <iframe></iframe> tag pair inside your info window <div></div> tags, and refer to another page where you can provide a second EZ Google Map. I know this is a bit clumsy, so full support of the Google Maps "blowup" maps is on my to-do list.

  • How can I draw lines my map, like Google does for map directions?

    This feature was added on 29 September 2005. See Drawing lines.

  • Why do some markers work in other browsers but fail in Safari?

    I've had a report that some markers don't work in the Apple Macintosh Safari web browser. I haven't been able to confirm this myself, but the problem may have to do with the URL for the marker. If the failing marker URL contains the two letters "q=", try deleting the part of the URL from there through to the next "&". After deleting that section of the URL, you should still have a "ll=" and a "spn=" in there somewhere.

    If you experience this problem, please let me know if this solution fixes it or if you find another way to solve the problem.

  • I can't get my map to work. In fact, no Google Maps work at all. What's wrong?

    Try Google Maps -- if that doesn't work, you may be using an incompatible browser or have JavaScript turned off. If Google Maps don't work, your own EZ map certainly won't.

  • Why does my EXTENT have no effect (except I get an extra dot marker)?

    Make sure that the only text inside the a tag is the word EXTENT in all caps, and that you only have one EXTENT per map. Beware that some blogging apps and web page editors may add extra spaces or line breaks within the a tag. Double-check the "view source" option in your browser to make sure that your tools and web server are not mangling your HTML.

  • Why does my map type default to the "map" or "street" view no matter what I do?

    There are several situations where the map will default to the map type or street view. The easiest way to set a different default map type is to specify G_SATELLITE_TYPE or G_HYBRID_TYPE in your class attribute, right next to the GMapEZ word. See Changing the Map Type for an example.

  • How can I use <body onload="..."> without EZ breaking?

    The <body> tag's onload attribute seems to supersede the onload handler that EZ installs. This is why none of your maps will load if you use the onload attribute. Instead, add a block like this to your HTML header, somewhere after the gmapez.js script tag:

    <script type="text/javascript">
      addOnLoad( function(){
        // your onload script code goes here, like this:
        alert('my onload');
      });
    </script>
    
  • Why do I get an "unregistered" alert when I load my page?

    If you get an alert when you load your page saying something like "The Google Maps API key used on this web site was registered for a different web site", then you are not using the right key in the <script> tag in your page header. Note that your map may still load, but you must sign up the correct key before publishing your page.

  • Why won't my page validate?

    Although the examples in the how-to work, they are not truly valid XHTML 1.0 Strict. If you'd like your page to be truly valid, you'll have to replace every & in every maps.google.com URL with &amp;. I left the examples the way they are to show that simply pasting the raw Google Maps URLs works just fine, even though it doesn't validate.

n01se blog - Chouser's Home Page

Copyright 2012 by Chouser, all rights reserved.