Index: trunk/extensions/SemanticMaps/includes/services/GoogleMaps3/jquery.googlemapsinput.js |
— | — | @@ -57,7 +57,7 @@ |
58 | 58 | } ); |
59 | 59 | }; |
60 | 60 | |
61 | | - this.mapforminput( mapDivId, options, { canGeocode: true } ); |
| 61 | + this.mapforminput( mapDivId, options ); |
62 | 62 | |
63 | 63 | this.mapDiv.googlemaps( options ); |
64 | 64 | |
Index: trunk/extensions/SemanticMaps/includes/services/YahooMaps/jquery.yahoomapsinput.js |
— | — | @@ -10,9 +10,34 @@ |
11 | 11 | */ |
12 | 12 | |
13 | 13 | (function( $ ){ $.fn.yahoomapsinput = function( options ) { |
| 14 | + |
| 15 | + var self = this; |
| 16 | + var geocoder = false; |
| 17 | + |
| 18 | + /** |
| 19 | + * Creates and places a new marker on the map at the provided |
| 20 | + * coordinate set and the pans to it. |
| 21 | + * @param {Object} coordinate |
| 22 | + */ |
| 23 | + this.showCoordinate = function( coordinate ) { |
| 24 | + // TODO |
| 25 | + }; |
| 26 | + |
| 27 | + this.setupGeocoder = function() { |
| 28 | + if ( geocoder === false ) { |
| 29 | + // TODO |
| 30 | + } |
| 31 | + } |
| 32 | + |
| 33 | + this.geocodeAddress = function( address ) { |
| 34 | + this.setupGeocoder(); |
| 35 | + // TODO |
| 36 | + }; |
| 37 | + |
| 38 | + this.mapforminput( mapDivId, options ); |
| 39 | + |
| 40 | + this.mapDiv.yahoomaps( options ); |
14 | 41 | |
15 | | - |
16 | | - |
17 | 42 | return this; |
18 | 43 | |
19 | 44 | }; })( jQuery ); |
\ No newline at end of file |