The name of the point is shown again when the mouse moves over it.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sun, 8 Sep 2013 21:35:36 +0000 (21:35 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sun, 8 Sep 2013 21:35:36 +0000 (21:35 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrmap/trunk@1545 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrmap.js

index 3d43e7af71c697e19fff68df8013f64550fa06f6..cff8a7ff8d3630a1b99beb5050639427800f869e 100644 (file)
--- a/wrmap.js
+++ b/wrmap.js
@@ -130,7 +130,7 @@ function init_wrmap(i, jq_map) {
                                                getTitle: function(feature) {
                                                        var title = '';
                                                        if (feature.attributes.type != 'point') {
-                                                               title = POINT_NAME[feature.attributes.type];
+                                                               title = feature.attributes.type; // TODO: First letter uppercase
                                                                if (feature.attributes.name !== undefined) title += ': ';
                                                        }
                                                        if (feature.attributes.name !== undefined) title += feature.attributes.name;