| Index: branches/SemanticMaps0.8/includes/services/GoogleMaps3/jquery.googlemapsinput.js |
| — | — | @@ -14,7 +14,11 @@ |
| 15 | 15 | var self = this; |
| 16 | 16 | |
| 17 | 17 | this.showCoordinate = function( coordinate ) { |
| 18 | | - |
| | 18 | + this.mapDiv.removeMarkers(); |
| | 19 | + coordinate.icon = ''; |
| | 20 | + coordinate.title = ''; |
| | 21 | + coordinate.text = coord.dms( coordinate.lat, coordinate.lon ); |
| | 22 | + this.mapDiv.addMarker( coordinate ); |
| 19 | 23 | }; |
| 20 | 24 | |
| 21 | 25 | this.geocodeAddress = function( address ) { |
| Index: branches/SemanticMaps0.8/includes/services/OpenLayers/jquery.openlayersinput.js |
| — | — | @@ -15,6 +15,7 @@ |
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | 18 | * @param {OpenLayers.LonLat} location |
| | 19 | + * @param {string} title |
| 19 | 20 | */ |
| 20 | 21 | this.showLocation = function( location, title ) { |
| 21 | 22 | var markerLayer = self.mapDiv.map.getLayer('markerLayer'); |