[pmwiki-users] Google Map API 2.2.0 Pre 6 Release (Icons)

Ben Wilson dausha at gmail.com
Thu Mar 15 13:33:47 CDT 2007


http://www.pmwiki.org/wiki/GoogleMapAPI/EastLansingTest

Pm installed pre-6 a few days ago. As you can see, the installation
seems to be working okay there (I cut/pasted your map coords). When I
checked your source, I noticed that the Javascript code that initiates
the map is not appearing,[1] although all other areas appear to be
populating the Skin. Check your installation, and let's see if we can
figure out the problem.

I loaded Firefox's error console and received no errors. Perhaps set
$GmaDebug =1 (I've not used this for a while, so no telling if this
will give any clues)?

I also recommend using single-quotes instead of double quotes. PmWiki
seems to have issues with double quotes in ParseArgs, IMO. If you look
at the GMA example for "Codes...", you will see the entire title
displays, whereas the others do not. The difference is the
single/double quote distinction.

Ben

[1]: http://www.davidaspitzley.org/Habitrail/index.php?n=Maps.DowntownEastLansing
(View Source, scroll to end).

On 3/15/07, David Spitzley <dspitzle at wash.k12.mi.us> wrote:
> Well, I've upgraded to prerelease 6, and I'm not able to get the map to appear.  The script is obviously engaging, as the page I'm working on ( http://www.davidaspitzley.org/Habitrail/index.php?n=Maps.DowntownEastLansing ) has an appropriately-sized gap, but it's empty.  Checking the HTML page source shows that the map div is being added, but nothing is happening.  Even after correcting the <html$GmapIEFix> tag to <html$GmaIEFix>, I still get nothing but blank space, both in IE and Firefox.  Any suggestions?  Here's my map (though even a simple one with a simple point fails to display):
>
> (:gma-map:)
> (:gma-point lat=42.734941 lon=-84.4807 text="Melting Moments Homemade Ice Creams<br />313 E. Grand River Ave." :)
> (:gma-point lat=42.734192 lon=-84.478168 text="21st Century Comics and Games<br />515 E. Grand River" :)
> (:gma-point lat=42.734042 lon=-84.477643 text="Flat, Black and Circular<br />541 E. Grand River Ave." :)
> (:gma-point lat=42.733459 lon=-84.475701 text="The Grand Wazoo<br />619 E. Grand River Ave" :)
> (:gma-point lat=42.735784 lon=-84.483662 text="Beggars Banquet<br />218 Abbott Rd." :)
> (:gma-point lat=42.735839 lon=-84.483662 text="CD Warehouse<br />228 Abbott Rd." :)
> (:gma-point lat=42.73658 lon=-84.480915 text="Code of the Cutz<br />317 M.A.C. Ave." :)
> (:gma-point lat=42.735918 lon=-84.481902 text="Pinball Pete's<br />220 Albert Ave." :)
> (:gma-point lat=42.735421 lon=-84.479091 text="Fortess Comics and Games<br />425 Albert Ave." :)
>
>
>
> David
>
> >>> "Ben Wilson" <dausha at gmail.com> 3/12/2007 8:00 PM >>>
> Okay, I've been stalling for some time implementing some icon solution
> for GMA. I apologize for the delay. Also, Pre 5 seems to have
> disappeared. Fortunately, that appeared to only implement RecipeCheck
> compliance and RecipeCheck seems to have been shelved pending a better
> solution. So, Pre 5 as hasty.
>
> Regardless, the new feature is called "Marker," and allows the wiki
> editor to create markers from A-Z. The following markup indicates a
> location with the 'Q' marker:
>
> (:gma-point lat=38.8533 lon=-77.124 marker=Q:)
>
> The markers are provided by Google itself. I am aware that Google has
> a lot of similar markers, and I plan on a rather simple add-on to this
> "success" that will allow access to said markers.
>
> As always, I appreciate your input.
>
> http://pmwiki.org/wiki/Cookbook/GoogleMapAPI
>
> --
> Ben Wilson
> "Words are the only thing which will last forever" --- Churchill
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>


-- 
Ben Wilson
"Words are the only thing which will last forever" --- Churchill



More information about the pmwiki-users mailing list