File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ IContainer InitializeContainer()
3737 //http://developer.yahoo.com/boss/geo/BOSS_Signup.pdf
3838 builder . Register ( c => new YahooGeocoder ( "my-yahoo-consumer-key" , "my-yahoo-consumer-secret" ) ) . As < IGeocoder > ( ) ;
3939
40+ builder . Register ( c => new MapQuestGeocoder ( "mapquest-key" ) { UseOSM = true } ) . As < IGeocoder > ( ) ;
41+
4042 //https://developers.google.com/maps/documentation/javascript/tutorial#api_key
4143 //a server key is optional with Google
4244 builder . Register ( c => new GoogleGeocoder
4345 {
4446 //ApiKey = "google-api-key-is-optional"
4547 } ) . As < IGeocoder > ( ) ;
4648
47- builder . Register ( c => new MapQuestGeocoder ( "mapquest-key" ) { UseOSM = true } ) . As < IGeocoder > ( ) ;
48-
4949 return builder . Build ( ) ;
5050 }
5151
You can’t perform that action at this time.
0 commit comments