Changeset 7128 for extensions/GMaps/gmaps_pip.class.inc.php
- Timestamp:
- Oct 8, 2010, 3:02:29 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GMaps/gmaps_pip.class.inc.php
r7125 r7128 209 209 lang:{ 210 210 boundmap:'".l10n('gmaps_i_boundmap')."', 211 boundkml:'".l10n('gmaps_i_boundkml')."' 211 boundkml:'".l10n('gmaps_i_boundkml')."', 212 loading:'".l10n('gmaps_loading')."' 212 213 }, 213 214 requestId:'', … … 246 247 if($this->picture['geolocated']==false) return(false); 247 248 248 if( count($this->picture['content']['MP'])>0)249 if(isset($this->picture['content']['MP']) and count($this->picture['content']['MP'])>0) 249 250 { 250 251 // there is maps in meta display mode … … 270 271 } 271 272 272 if( count($this->picture['content']['IP'])>0)273 if(isset($this->picture['content']['IP']) and count($this->picture['content']['IP'])>0) 273 274 { 274 275 // there is maps in icon display mode … … 361 362 'height' => $map['height'], 362 363 'style' => $map['style'], 363 ' mode' => $map['displayType']364 'displayType' => $map['displayType'] 364 365 ); 365 366
Note: See TracChangeset
for help on using the changeset viewer.