File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,13 @@ var polyLineColor = '#FFCC00'
2727
2828
2929
30-
3130function initialize ( ) {
3231
3332 var config = {
3433 zoom : mapZoom ,
34+ mapTypeControl : false ,
35+ streetViewControl : false ,
36+ disableDoubleClickZoom : true ,
3537 center : new google . maps . LatLng ( mapCenter [ 0 ] , mapCenter [ 1 ] )
3638 } ;
3739 var googleMap = new google . maps . Map ( document . getElementById ( "map_canvas" ) , config ) ;
@@ -54,10 +56,10 @@ function initialize() {
5456
5557 var address = '' ;
5658 if ( place . address_components ) {
57- place . address = [
58- ( place . address_components [ 1 ] && place . address_components [ 1 ] . long_name || '' ) ,
59- ( place . address_components [ 2 ] && place . address_components [ 2 ] . long_name || '' )
60- ] . join ( ' ' ) ;
59+ place . address = [
60+ ( place . address_components [ 1 ] && place . address_components [ 1 ] . long_name || '' ) ,
61+ ( place . address_components [ 2 ] && place . address_components [ 2 ] . long_name || '' )
62+ ] . join ( ' ' ) ;
6163 }
6264 var loc = place . geometry . location ;
6365
You can’t perform that action at this time.
0 commit comments