0
votes

How do you display a Google Map in Obeon?

<fr:map
address-ref="address"
id="unittest-map"
longitude-ref="longitude"
latitude-ref="latitude"
style="width: 500px; height: 300px"/>

Testing the Form Runner builtin: fr:map in Forms Builder throws an error. Exception in client-side code. Message: xf_a6db6301b6c2f88cf6feeb281ad08189935d92d0 is not defined

The Xforms sample in orbeon/xforms-sandbox/sample/map-geocode shows the initial map, but also throws an error on use: Exception in client-side code. Message: GClientGeocoder is not defined

1

1 Answers

0
votes

The issue you're seeing seems to be specific to that example, which uses the GClientGeocoder on its own. You can run map-unittest.xhtml, which also uses the fr:map and runs without any JavaScript errors in 2017.2.