Re: Google maps
Re: Google maps
- Subject: Re: Google maps
- From: Ralf Schuchardt <email@hidden>
- Date: Fri, 10 Nov 2017 12:31:39 +0100
Hi Stavros,
I have also not used the component, but I believe the content inside the
CCGoogleMapMarker tags is used as content for the info box of that marker. To
hide the address list you may try adding a CSS style or class with "display:
hidden" to a the address items or a surrounding container.
Ralf
--
Ralf Schuchardt
Sent with Airmail
Am 10. November 2017 um 05:10:02, Stavros Panidis (email@hidden)
schrieb:
Dear Gino
follwing is the division of my component where the map is displayed
<wo:CCGoogleMap id = "myMap" type = "ROADMAP" lat = "$parameters.map_lat" lng =
"$parameters.map_lng" zoom = "$parameters.map_zoom.toString" ></wo:CCGoogleMap>
<wo:repetition list = "$mapMarkers" item = "$aMarker"> <wo:CCGoogleMapMarker
googleMapId = "myMap" lat = "$aMarker.lat" lng = "$aMarker.lng" id =
"$aMarker.mapID" address = "$aMarker.mapInfo">
</wo:CCGoogleMapMarker>
The map is displayed correctly and also do the markers. But there is nothing
but an empty box displayed when I click on to a marker.
While if I add below CCGoogleMapMarker (inside repetition) the line
<address><wo:string value = "$aMarker.mapInfo"></wo:string></address>
the address is displayed correctly when I click the marker but I also get a
list of addresses displayed below the map.
I am sure that I do something wrong but I can’t find out.
Stavros
> On 9 Nov 2017, at 09:17, Gino Pacitti <email@hidden> wrote:
>
> I guess you have customise the component :-)
>
> Find it in the frameworks...
>
> Sent from my Apple iPhone 7 plus
>
>> On 9 Nov 2017, at 05:37, Stavros Panidis <email@hidden> wrote:
>>
>> Dear Johann,
>>
>> I tried with CCGoogleMap.
>>
>> I achieved to display my custom main map and also add my markers
>> (CCGoogleMapMarker) on it.
>>
>> My problem is that I can not find a way to display custom information for
>> each marker, like I did before with ‘info’ binding in AjaxGMap framework.
>>
>> Do you or someone else have something to suggest? I should greatly
>> appreciate it.
>>
>> Stavros Panidis
>>
>>
>>> On 7 Nov 2017, at 18:53, Johann Werner <email@hidden> wrote:
>>>
>>> Hi Stavros,
>>>
>>> have a look at CCGoogleMap. You will find it in framework ERCoolComponents.
>>>
>>> jw
>>>
>>>
>>>> Am 07.11.2017 um 16:23 schrieb Stavros Panidis <email@hidden>:
>>>>
>>>> Hi list,
>>>>
>>>> I worked with AjaxGMap so far but after installing Wonder 7 I see that is
>>>> missing.
>>>>
>>>> Is there another solution to work with Google maps? Any examples?
>>>>
>>>> Many thanks in advance
>>>>
>>>> Stavros Panidis
>>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden