Dear all,
I would like to switch my "regular" Map View to OpenLayers one.

I have called the extension from here:
<script src="http://trunk.simile-widgets.org/exhibit/api/extensions/
map/map-extension.js?service=openlayers" type="text/javascript"></
script>

And I have used this code for my view:
<div ex:role="view"
         ex:viewClass="OLMap"
         ex:label="Mappa"
         ex:latlng=".Coordinate"
         ex:center="37.537,14.078"
         ex:zoom="8"
         ex:selectCoordinator="coordinator"
         ex:latlngPairSeparator=","
         >
        <div class="map-lens" ex:role="lens" style="display: none;">
                <div>Comune: <b><span ex:content=".Comune"></span></b>, Zona:
<b><span ex:content=".Zona"></span></b></div>
        </div>
</div>

When I call my Exhibit URL I have "Failed to create view Mappa", and
then (two time) "Caught exeception: undefined. Details: TypeError:
this.map is null".

The URL of my Exhibit is:
http://www.spaziogis.it/maps/vev/ol.htm

My code seems to correct. Please help me to find my stupid error.

Thank you very much,

a

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to