Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Examples: `${showPopup()}` requires no parameter.

  • Loading branch information...
commit 416cf9e04ce590d2d5af569552ede6638fb058f5 1 parent 2dd1372
@jorix authored
View
2  examples/feature-popups-external.js
@@ -42,7 +42,7 @@ fpControl.addLayer(
poisLayer, {templates: {
hover: '${.title}',
single: '<h2>${.title}</h2>${.description}',
- item: '<li><a href=\"#\" ${showPopup(fid)}>${.title}</a></li>'
+ item: '<li><a href=\"#\" ${showPopup()}>${.title}</a></li>'
}}
);
View
2  examples/feature-popups-plus.js
@@ -145,7 +145,7 @@ fpControl.addLayer(
poisLayer, {templates: {
hover: '${.title}',
single: '<h2>${.title}</h2>${.description}',
- item: '<li><a href=\"#\" ${showPopup(fid)}>${.title}</a></li>'
+ item: '<li><a href=\"#\" ${showPopup()}>${.title}</a></li>'
}}
);
View
2  examples/feature-popups.js
@@ -42,7 +42,7 @@ fpControl.addLayer(
poisLayer, {templates: {
hover: '${.title}',
single: '<h2>${.title}</h2>${.description}',
- item: '<li><a href=\"#\" ${showPopup(fid)}>${.title}</a></li>'
+ item: '<li><a href=\"#\" ${showPopup()}>${.title}</a></li>'
}}
);
View
2  examples/nbtsolutions-FP.html
@@ -48,7 +48,7 @@
templates: {
hover: "${.Center}",
single: "<h2>${.Center}</h2>Phone: ${.CenterPhone}<br>City: ${.ZIP_1} ${.City_1}<br><a href=\"${.Website}\">${.Website}</a>",
- item: "<li><a href=\"#\" ${showPopup(fid)}>${.Center} (${.City_1})</a></li>"
+ item: "<li><a href=\"#\" ${showPopup()}>${.Center} (${.City_1})</a></li>"
}
});
map.addControl(fpControl);
Please sign in to comment.
Something went wrong with that request. Please try again.