Ignore:
Timestamp:
Oct 9, 2010, 9:55:26 PM (14 years ago)
Author:
grum
Message:

add marker style management + minor bugs fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GMaps/gmaps_ajax.php

    r7132 r7139  
    206206                 isset($_REQUEST['datas']['kmlFileUrl']) &&
    207207                 isset($_REQUEST['datas']['icon']) &&
     208                 isset($_REQUEST['datas']['marker']) &&
    208209                 isset($_REQUEST['datas']['title']) ))
    209210            {
     
    664665                $properties['kmlFileUrl']."', '".
    665666                $properties['icon']."', '".
     667                $properties['marker']."', '".
    666668                mysql_escape_string($properties['title'])."');";
    667669        $result=pwg_query($sql);
     
    677679                $properties['kmlFileUrl']."', kmlFileId='".
    678680                $properties['kmlFileId']."', icon='".
    679                 $properties['icon']."', title='".
     681                $properties['icon']."', marker='".
     682                $properties['marker']."', title='".
    680683                mysql_escape_string($properties['title'])."'
    681684              WHERE id='$id';";
     
    705708        'kmlFileUrl' => '',
    706709        'icon' => '',
     710        'marker' => '',
    707711        'title' => ''
    708712      );
    709713
    710714      $sql="SELECT id, categoryId, mapId, applySubCat, kmlFileId, kmlFileUrl,
    711                    icon, title
     715                   icon, marker, title
    712716            FROM ".$this->tables['category_maps']."
    713717            WHERE id='$id';";
Note: See TracChangeset for help on using the changeset viewer.