XML schema

Aug 5, 2007 at 8:18 AM
This is a cool web part. Thanks for creating it. What is the XML schema for the markers? I figured this much out by looking at the code:

<markers>
<marker lat="38.23" lng="-94.614258" info="Sample pushpin">
</marker>
</markers>

But I'm not sure what more there is. For instance, where do you put the CDATA html?

Thanks.
Coordinator
Aug 5, 2007 at 7:13 PM
Hi.
;-) glad that you find it usefull. Below you will find a sample for embedding CDATA content in popup.

<markers>
<marker lat="55.536523929284385" lng="9.616073369979858" info="Her bor vi. www.familienhede.dk" >
<info>
<minipage>
<![CDATA[
...<div><br><strong>Her bor jeg</strong>
<br>
Test osv... <a href=http://www.familienhede.dk target=_blank>Se hjemmeside</a>
</div>
]]>
</minipage>
</info>
</marker>
<marker lat="55.515147349841015" lng="9.623057842254638" info="Her arbejder hr. Hede." />
</markers>

Regards
Robert



wimpleshapers wrote:
This is a cool web part. Thanks for creating it. What is the XML schema for the markers? I figured this much out by looking at the code:

<markers>
<marker lat="38.23" lng="-94.614258" info="Sample pushpin">
</marker>
</markers>

But I'm not sure what more there is. For instance, where do you put the CDATA html?

Thanks.

Aug 5, 2007 at 9:09 PM
Awesome, that worked -- if I click on the marker I see my html. However, the CDATA also appears as a tool tip as raw html when I hover the mouse over the marker. Is there anyway to get rid of that?

Also, I thought it would be really cool if the marker data came from a list instead of an xml file, mostly because lists are so much more covenient to edit a list. Any chance a future version will do this?


rnhdk wrote:
Hi.
;-) glad that you find it usefull. Below you will find a sample for embedding CDATA content in popup.

<markers>
<marker lat="55.536523929284385" lng="9.616073369979858" info="Her bor vi. www.familienhede.dk" >
<info>
<minipage>
<![CDATA[
...<div><br><strong>Her bor jeg</strong>
<br>
Test osv... <a href=http://www.familienhede.dk target=_blank>Se hjemmeside</a>
</div>
]]>
</minipage>
</info>
</marker>
<marker lat="55.515147349841015" lng="9.623057842254638" info="Her arbejder hr. Hede." />
</markers>

Regards
Robert



wimpleshapers wrote:
This is a cool web part. Thanks for creating it. What is the XML schema for the markers? I figured this much out by looking at the code:

<markers>
<marker lat="38.23" lng="-94.614258" info="Sample pushpin">
</marker>
</markers>

But I'm not sure what more there is. For instance, where do you put the CDATA html?

Thanks.


Coordinator
Aug 6, 2007 at 1:51 PM
The problem that tooltip show raw HTML is fixed, and you should be able to download gmapcontrol.dll under "release" -> "planned" version "1.1.2".
About the source-destination of pushpin I'll re-think the source input, so that it supports different types of input e.g. lists in MOSS.


wimpleshapers wrote:
Awesome, that worked -- if I click on the marker I see my html. However, the CDATA also appears as a tool tip as raw html when I hover the mouse over the marker. Is there anyway to get rid of that?

Also, I thought it would be really cool if the marker data came from a list instead of an xml file, mostly because lists are so much more covenient to edit a list. Any chance a future version will do this?


rnhdk wrote:
Hi.
;-) glad that you find it usefull. Below you will find a sample for embedding CDATA content in popup.

<markers>
<marker lat="55.536523929284385" lng="9.616073369979858" info="Her bor vi. www.familienhede.dk" >
<info>
<minipage>
<![CDATA[
...<div><br><strong>Her bor jeg</strong>
<br>
Test osv... <a href=http://www.familienhede.dk target=_blank>Se hjemmeside</a>
</div>
]]>
</minipage>
</info>
</marker>
<marker lat="55.515147349841015" lng="9.623057842254638" info="Her arbejder hr. Hede." />
</markers>

Regards
Robert



wimpleshapers wrote:
This is a cool web part. Thanks for creating it. What is the XML schema for the markers? I figured this much out by looking at the code:

<markers>
<marker lat="38.23" lng="-94.614258" info="Sample pushpin">
</marker>
</markers>

But I'm not sure what more there is. For instance, where do you put the CDATA html?

Thanks.