Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
the term is used in a wide number of contexts for an image, picture, or representation;
0
votes
Accepted
How to make openlayers features externalGraphic reappear after hiding
To hide the icon: set the externalGraphic to null. … To show the icon again: check if it is null, and if so set the correct icon with the icon attribute. …
1
vote
2
answers
612
views
How to make openlayers features externalGraphic reappear after hiding
I'm displaying a vector layer with pois, generated from a text file:
lat lon icon iconSize iconOffset title description
56.030325 14.4774116666667 http://www.medinsbiologi.se/hano/Foto.png … type is used in my text file as so:
var feature = pois.features;
for (var i = 0; i < feature.length; i++) {
if (feature[i].style.externalGraphic == "url to icon") { …