[OpenLayers-Dev] How invoke highslide from a vector
student123
almighty777 at gmail.com
Tue Nov 10 17:36:45 EST 2009
Thank you for your reply. I'm sorry I couldn't write earlier.
This method should work but in my case the iFrame function is invoked
directly from hyperlink.
Example will explain better:
I invoke highslide like this :
a href="include/iFrameInclude.htm" on_click="return hs.htmlExpand(this, {
objectType: 'iframe' } )">
Highslide with iframe popup example
/a>
So this function hs.htmlExpand() works with the html object
and my onSelect property looks like that :
onSelect: onFeatureSelect,
where onFeatureSelect is :
function onFeatureSelect(vector) {
selectedFeature = vector;
popup = new OpenLayers.Popup.FramedCloud("plan_labos",
vector.geometry.getBounds().getCenterLonLat(),
null,
'some text',
null, true, onPopupClose);
vector.popup = popup;
map.addPopup(popup);
}
and I don't really see any way to invoke this highslide (which is cool)
from the vector since vector isn't html object.
Am I right?
Actually, I really want to be wrong cause I want to make this thing work
Thanks for any help or any ideas on how to invoke iFrame by clicking on
vector
--
View this message in context: http://n2.nabble.com/How-invoke-highslide-from-a-vector-tp3846109p3983068.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20091110/bb2ead00/attachment.html
More information about the Dev
mailing list