@@ -26,7 +26,7 @@ describe('leaflet_testAddressMatchService', function () {
2626 prjCoordSys : '{epsgcode:4326}' ,
2727 maxReturn : - 1
2828 } ) ;
29- var GeoCodingService = L . supermap . AddressMatchService ( addressMatchURL , options ) . code ( GeoCodingParams , function ( result ) {
29+ var GeoCodingService = L . supermap . addressMatchService ( addressMatchURL , options ) . code ( GeoCodingParams , function ( result ) {
3030 serviceResult = result
3131 } ) ;
3232 setTimeout ( function ( ) {
@@ -71,7 +71,7 @@ describe('leaflet_testAddressMatchService', function () {
7171 maxReturn : - 1 ,
7272 geoDecodingRadius : 500
7373 } ) ;
74- var GeoDecodingService = L . supermap . AddressMatchService ( addressMatchURL , options ) . decode ( GeoDecodingParams , function ( result ) {
74+ var GeoDecodingService = L . supermap . addressMatchService ( addressMatchURL , options ) . decode ( GeoDecodingParams , function ( result ) {
7575 serviceResult = result
7676 } ) ;
7777 setTimeout ( function ( ) {
@@ -113,7 +113,7 @@ describe('leaflet_testAddressMatchService', function () {
113113 prjCoordSys : '{epsgcode:4326}' ,
114114 maxReturn : - 1
115115 } ) ;
116- var GeoCodingService = L . supermap . AddressMatchService ( addressMatchURL , options ) . code ( GeoCodingParams , function ( result ) {
116+ var GeoCodingService = L . supermap . addressMatchService ( addressMatchURL , options ) . code ( GeoCodingParams , function ( result ) {
117117 serviceResult = result
118118 } ) ;
119119 setTimeout ( function ( ) {
@@ -146,7 +146,7 @@ describe('leaflet_testAddressMatchService', function () {
146146 maxReturn : - 1 ,
147147 geoDecodingRadius : 500
148148 } ) ;
149- var GeoDecodingService = L . supermap . AddressMatchService ( addressMatchURL , options ) . decode ( GeoDecodingParams , function ( result ) {
149+ var GeoDecodingService = L . supermap . addressMatchService ( addressMatchURL , options ) . decode ( GeoDecodingParams , function ( result ) {
150150 serviceResult = result
151151 } ) ;
152152 setTimeout ( function ( ) {
0 commit comments