Draggable Marker Example

Code:
 
    // load the necessary scripts
    <?= $this->Html->script("//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js", false); ?>
    <?= $this->Html->script("http://maps.google.com/maps/api/js?sensor=false", false); ?>
 
    <?php
      $map_options = array(
        "localize" => false,
        "type" => "ROADMAP",
        "zoom" => 14,
        "marker" => false
      );
    ?>
 
    // print the default map
    <?= $this->GoogleMap->map(); ?>
 
    // add circle
    <?= $this->GoogleMap->addCircle(
      "map_canvas",
      "circle1",
      array(
        "latitude" => 40.70894620592961,
        "longitude" => -73.93882513046293
      ),
      1000,
      array(
        "strokeColor"   => "#000",
        "strokeOpacity" => 1,
        "strokeWeight"  => 5,
        "fillColor"     => "#E2252D",
        "fillOpacity"   => 0.3
      )
    ); ?>