@@ -23,7 +23,7 @@ |
||
| 23 | 23 | function make_args() { |
| 24 | 24 | return array( |
| 25 | 25 | 'center' => $this->center(), |
| 26 | - 'zoom' => (int)$this->zoom(), |
|
| 26 | + 'zoom' => ( int ) $this->zoom(), |
|
| 27 | 27 | ); |
| 28 | 28 | } |
| 29 | 29 | } |
| 30 | 30 | \ No newline at end of file |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | |
| 12 | 12 | function the_map() { |
| 13 | 13 | |
| 14 | - wp_localize_script( 'map-control', 'objMapParams', $this->item->make_args() ); |
|
| 14 | + wp_localize_script( 'map-control', 'objMapParams', $this->item->make_args() ); |
|
| 15 | 15 | wp_localize_script( 'map-control', 'objMapMarkers', $this->_make_markers_args() ); |
| 16 | 16 | |
| 17 | 17 | echo '<div id="map" class="google-map" style="height: 400px; width: 100%"></div>'; |