Where is the Google map oxf.xforms.xbl.fr.map.key property?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Where is the Google map oxf.xforms.xbl.fr.map.key property?

Laurent Gauthier
In the maps.xbl file there is a reference to
xxforms:property('oxf.xforms.xbl.fr.map.key') but I cannot find where the value for that property is set.

This is required by Google to access Google maps from a public host and I need to set it to the value for my own site.

I added
<property as="xs:string"  name="oxf.xforms.xbl.fr.map.key"  value="??"/> 

to properties-local.xml but that has no effect :-(

Reply | Threaded
Open this post in threaded view
|

Re: Where is the Google map oxf.xforms.xbl.fr.map.key property?

Alessandro Vernet
Administrator
Laurent,

Laurent Gauthier wrote
In the maps.xbl file there is a reference to
xxforms:property('oxf.xforms.xbl.fr.map.key') but I cannot find where the value for that property is set.

This is required by Google to access Google maps from a public host and I need to set it to the value for my own site.

I added
<property as="xs:string"  name="oxf.xforms.xbl.fr.map.key"  value="??"/> 

to properties-local.xml but that has no effect :-(
That should do the trick. I just tested this, and adding a:

<property as="xs:string" name="oxf.xforms.xbl.fr.map.key" value="gaga"/>

I can see that the source of the page contains:

<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=gaga" type="text/javascript" id="unittest-map$xf-14">

Note that this was implemented on Sunday May 10; could it be that you are using a build older than that?

Alex