First, everyone at google is totally awesome.  I love all of the
things you put out there for people like myself to tinker with and
from the vast amount of info you have for the Google Maps API shows
that your support is tremendous.

Now, enough patting you folks on the back, you know you do good work -
in my quest to waste much more time than the average man I am making
my own website.  Searching google resulted in learning about google
maps API, and this was the first I've learned of javascript.

I wanted to make a fairly simple Map, combining two of your demos
(toggle icons, well I guess three, custom icons, and maxcontent).
Sounded simple - Now, you guys did all the work, I just copied pasted
and loaded an xml file.  Everything looked great, but then I came to
two problems........I was hoping to have my map canvas at 100% x 100%
for the iPhone and in general I think google maps is a great
application to utilize the entire screen, since there's really nothing
to be compromised by fitting the screen.

First, I thought it was a simple nesting problem of not having my
checkBox div inside the map div, but I've moved that all over the
place and I still can't get a height of 100% - this isn't major but I
couldn't find a solution in this forum or on your demos - I can get
100% x 100% easy when I just do a simple map without any other div so
I assume the problem is coming from there.

Second - I haven't created all the webpages yet - but I have a
template "events.html" at this domain to be loaded in to a maxContent
window just to see if it works..........this is where my lack of
javascript knowledge is probably hurting me......actually lack of any
sort of scripting knowledge.  I tend to think the problem is putting
the maxcontent listener inside the createmarker function.  Would I
make a new function to be called within this function that passes on
the maxcontent info??  I guess I'm trying to figure out how the
maxcontent window works - again, your demo is great for maxcontent as
well as the rest of them, but passing on an html to a bunch of markers
is proving to be more than trivial for me.

my webpage is

http://www.mypinkyup.com/map.html

and my xml file is like so (I added html (currently in the code I just
forced in the url) to draw from later when I get the maxContent window
working - and the label and the rating will be used in the regular
info window.

<?xml version="1.0" encoding="utf-8"?><markers>
<marker name="Acadia National Park" label="1" address="Eagle Lake Rd,
Bar Harbor, ME‎" lat="44.386691" lng="-68.259429" type="parks"
html="events.html" rating="" />

Thanks for the help,

Mike

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to