Active
Project:
Openlayers
Version:
7.x-2.0-beta1
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2012 at 15:14 UTC
Updated:
21 Mar 2014 at 12:57 UTC
Jump to comment: Most recent
Comments
Comment #1
manojsaini commentedHi
I am trying to add ${title} as label in style. But I am getting 'undefined' in map. Can you help me to sort this issue.
I am using openlayer
Thanks
Manoj
Comment #2
michael.peden commentedHi,
I have an issue that is identical to the one described here. For me, this issue was was caused by the ZEN theme and the creation of a ZEN sub theme. Specifically, the use of the HTML5 shim in the ZEN theme that is used by default according to the html.tpl.php file in the templates.
Specifically the call of :
My solution was to comment out the HTML5 Shiv pre3.5 and download a current version of the HTML5 Shiv. And then, add the offending olv tags (i.e. olv:rect etc...) to the reSkip variable. There was much rejoicing when the titles began to display properly.
Cheers,
MTP
Comment #3
abtm commentedHi leschekfm, did you ever find a solution for this problem? I created a map a couple of days ago at http://www.homehippo.ug/find-property-by-map. Someone told me today that the map didn't work. I suspected the browser must be IE and did a few tests. I found out that I had the exact problem you described. Was wondering if you have resolved it in some way?
Comment #4
leschekfm commentedNope, never resolved this issue. My solution for the future will be to use leaflet instead of openlayers ;)
Comment #5
rob c commentedI have a (possibly) related similar issue with 'custom markers' not showing up at all. After some ivestigation it looks like they are not even rendered at all. (i only see tiles/navigation in the source, and that's also only visible in the browser). (while default markers work just fine)
Updating title for search engines + drupal search (search on d.o. is limited to minimal 3 words, so searching for IE won't work at all).
ps. Check here for 'firebug' / debugging Internet Explorer a bit. (Also works in 8)
Comment #6
Jānis commentedThanks to michael.peden for giving me an idea what to look for. In my case, it was Modernizr 2.6.2 that was the cause. Updating it to 2.7.1 solved the label problem.