Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cap on the number of routes? #92

Closed
joegaudet opened this issue Mar 7, 2017 · 1 comment
Closed

Cap on the number of routes? #92

joegaudet opened this issue Mar 7, 2017 · 1 comment
Labels

Comments

@joegaudet
Copy link

First off, thanks so much for your work on this addon, we are loving using it.

I've noticed at most I'm only able to show 3 routes at a time. Is this an imposed limitation? Or am I doing something wrong?

    {{#g-map markersFitMode='live'
             classNames='fde-logistics-planning_gmap'
             options=customOptions as |context|}}
      {{#each driverAllocations as |driverAllocation|}}
          {{g-map-address-route context
                                travelMode='driving'
                                strokeColor=driverAllocation.color
                                strokeWeight=(ternary (eq order selectedOrder) '5' '3')

                                originAddress=order.restaurantLocation.gmapsAddress
                                destinationAddress=order.clientLocation.gmapsAddress
          }}
      {{/each}}
    {{/g-map}}

We've got a paid gmaps key, is it perhaps a question of rate limiting?

@steveszc
Copy link
Collaborator

Did you ever resolve this issue @joegaudet?

This shouldn't be a rate limit issues according to https://developers.google.com/maps/documentation/javascript/directions#UsageLimits

If you can throw this up on a Twiddle I'd be happy to take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants