Feature Request: Route Calculations to Avoid Designated Areas

145 views
Skip to first unread message

Satpack Travel

unread,
Sep 8, 2011, 6:24:24 AM9/8/11
to google-map...@googlegroups.com
Hello,

I'm not sure if this is the right place to ask for this, but we'd really like to be able to add the functionality for a route calculated by Google on our maps to avoid designated areas (that we would define, e.g. using polygons in a Fusion Table layer). It would be almost the 'reverse' of the current ability to favour highways or waypoints when calculating routes.

The application is that, here in South Africa, there are certain high-crime areas / hi-jacking hotspots that we'd like to be able to help our map users avoid using a 'safemode' type option. At the moment we can only highlight such areas on the map, but this doesn't stop a route being calculated through it.

I'd imagine there are many applications internationally (e.g. high pollution areas, potholed roads, inner-cities etc.).

Any thoughts?


geoco...@gmail.com

unread,
Sep 8, 2011, 6:53:25 AM9/8/11
to Google Maps JavaScript API v3
On Sep 8, 6:24 am, Satpack Travel <robmacl...@gmail.com> wrote:
> Hello,
>
> I'm not sure if this is the right place to ask for this, but we'd really
> like to be able to add the functionality for a route calculated by Google on
> our maps to avoid designated areas (that we would define, e.g. using
> polygons in a Fusion Table layer). It would be almost the 'reverse' of the
> current ability to favour highways or waypoints when calculating routes.

The enhancements/issues list would be better:
http://code.google.com/p/gmaps-api-issues/issues/list?can=2&q=apitype%3AJavascript3+Type%3AEnhancement

(I thought this one was already there, but I don't see it)

-- Larry

Andrew Leach

unread,
Sep 8, 2011, 7:16:02 AM9/8/11
to google-map...@googlegroups.com
On 8 September 2011 11:53, geoco...@gmail.com <geoco...@gmail.com> wrote:
>>
>> I'm not sure if this is the right place to ask for this, but we'd really
>> like to be able to add the functionality for a route calculated by Google on
>> our maps to avoid designated areas (that we would define, e.g. using
>> polygons in a Fusion Table layer). It would be almost the 'reverse' of the
>> current ability to favour highways or waypoints when calculating routes.
>
> The enhancements/issues list would be better:
> http://code.google.com/p/gmaps-api-issues/issues/list?can=2&q=apitype%3AJavascript3+Type%3AEnhancement
>
> (I thought this one was already there, but I don't see it)

214: http://code.google.com/p/gmaps-api-issues/issues/detail?id=214

Google won't implement this unless you can word the request better.

Nianwei Liu

unread,
Sep 9, 2011, 7:16:46 AM9/9/11
to Google Maps JavaScript API v3
This one (marked dup) has a more detailed description:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=427
It's been 3+ years so chances are slim.
You could use Esri's ArcGIS API if you are their customers: see this
example:
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/arcgislink/examples/routebarriers.html





On Sep 8, 7:16 am, Andrew Leach <andrew.leac...@gmail.com> wrote:
> On 8 September 2011 11:53, geocode...@gmail.com <geocode...@gmail.com> wrote:
>
>
>
> >> I'm not sure if this is the right place to ask for this, but we'd really
> >> like to be able to add the functionality for a route calculated by Google on
> >> our maps to avoid designated areas (that we would define, e.g. using
> >> polygons in a Fusion Table layer). It would be almost the 'reverse' of the
> >> current ability to favour highways or waypoints when calculating routes.
>
> > The enhancements/issues list would be better:
> >http://code.google.com/p/gmaps-api-issues/issues/list?can=2&q=apitype...
Reply all
Reply to author
Forward
0 new messages