8 messages in com.googlegroups.google-mashup-editorRe: GMap: Bug, strange behaviour, or ...
FromSent OnAttachments
Mirage15 Jul 2007 16:27 
mark mclaren16 Jul 2007 03:16 
Mirage16 Jul 2007 03:36 
mark mclaren16 Jul 2007 04:00 
mark mclaren16 Jul 2007 04:14 
Mirage16 Jul 2007 11:53 
Jason16 Jul 2007 14:18 
Mirage16 Jul 2007 14:49 
Subject:Re: GMap: Bug, strange behaviour, or wrong solution...?
From:mark mclaren (mark@gmail.com)
Date:07/16/2007 03:16:05 AM
List:com.googlegroups.google-mashup-editor

From the GME tag reference

<http://code.google.com/gme/reference.html#gm_map>

"the button will only shows up if the bound feed is writable"

Could it be that in your case the bound feed is not writable? It looks like your arealist does not have an event handler to handle the new markers (I suppose this is what makes it writable). Look at the http://mapwiki.googlemashups.com/ example.

HTH

Mark

On Jul 16, 12:27 am, Mirage <mira@googlemail.com> wrote:

Hi all,

I want to have a list of areas. Each area shall have n points (markers in Google Maps) to be displayed in maps. Therefor I have created a list of areas and a map for displaying an area selected in the list. Coding is listed below.

a) why are there no buttons in the map for creating pins "create a new pin" and "map/unpin entry"

b) when selecting an entry in the list of areas, why are not the assigned points displayed in the map for the selected entry?

ur hlp is gr8tly appreciated!! Jan

Please feel free to enter data in:http://alfalaval.googlemashups.com/

Here the coding:

<gm:page title="MyAreas" authenticate="true">

<gm:data id="areas" data="${app}/area"/> <gm:data id="areaspots" data="${areas}/spot"/>

<gm:list id="arealist" data="${areas}" template="simple" pageSize="10"/>

<gm:map id="myMap" data="${areaspots}" maptypes="true" control="small" create="true" height="600px"> <gm:handleEvent src="arealist"/> </gm:map>

</gm:page>