Ignore:
Timestamp:
Oct 8, 2010, 3:02:29 AM (14 years ago)
Author:
grum
Message:

Connect the plugin to the RBuilder component + fixe some small bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GMaps/gmaps_pip.class.inc.php

    r7125 r7128  
    209209      lang:{
    210210        boundmap:'".l10n('gmaps_i_boundmap')."',
    211         boundkml:'".l10n('gmaps_i_boundkml')."'
     211        boundkml:'".l10n('gmaps_i_boundkml')."',
     212        loading:'".l10n('gmaps_loading')."'
    212213      },
    213214      requestId:'',
     
    246247    if($this->picture['geolocated']==false) return(false);
    247248
    248     if(count($this->picture['content']['MP'])>0)
     249    if(isset($this->picture['content']['MP']) and count($this->picture['content']['MP'])>0)
    249250    {
    250251      // there is maps in meta display mode
     
    270271    }
    271272
    272     if(count($this->picture['content']['IP'])>0)
     273    if(isset($this->picture['content']['IP']) and count($this->picture['content']['IP'])>0)
    273274    {
    274275      // there is maps in icon display mode
     
    361362        'height' => $map['height'],
    362363        'style' => $map['style'],
    363         'mode' => $map['displayType']
     364        'displayType' => $map['displayType']
    364365      );
    365366
Note: See TracChangeset for help on using the changeset viewer.