GML Map Tool is a Web Tool that allows you to create a directed complete Graph in GML format, using Google Maps as a data source.
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css refactor Jul 26, 2014
images refactor Jul 26, 2014
js refactor Jul 26, 2014
LICENSE Create LICENSE Jul 6, 2014
README.md Update README.md Apr 5, 2018
index.html refactor Jul 26, 2014
samplesolution.json refactor Jul 26, 2014

README.md

GML Map Tool

GML Map Tool is a Web Tool that allows you to create a directed complete Graph in GML format, using Google Maps as a data source, moreover allows you to draw an arc or route directly in the maps via JSON file.

Getting Started

Downloading GML Map Tool

GML Map Tool can be downloaded here

Dependencies

GML Map Tool use:

  1. jQuery download
  2. jquery.format download
  3. handlebars download
  4. Google Maps API
  5. Google Distance Matrix API

Sample Json for Upload Solution

pre-condition:

  • Put three red marker in maps.
{
   "routes":false,
   "arcs":[
      {
         "source":0,
         "target":1
      },
      {
         "source":0,
         "target":2
      },
      {
         "source":1,
         "target":3
      },
      {
         "source":3,
         "target":0
      }
   ]
}
Attributes Value Description
routes true or false If the property is set a true, the map displays the route between source and target markers. Otherwise, the map displays an arc between source and target markers.
arcs array of ojects identify the arcs between source and target nodes.

Limits

https://developers.google.com/maps/licensing

Reporting an Issue

  1. Make sure the problem you're addressing is reproducible.
  2. Use http://jsbin.com or http://jsfiddle.net to provide a test page.
  3. Indicate what browsers the issue can be reproduced in. Note: IE Compatibilty modes issues will not be addressed.
  4. What version of the plug-in is the issue reproducible in. Is it reproducible after updating to the latest version.

License

Licensed under the MPL version 2.0 license.

Copyright (c) 2014 Alexander Perucci.