Git Product home page Git Product logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Not a bug. Most likely you forgot to add <div id="panel"></div>. If this isn't 
the case, pls attach an html which proves the issue.

Original comment by johansalllarsson on 29 Aug 2011 at 5:28

  • Changed state: Invalid
  • Added labels: ****
  • Removed labels: ****

from jquery-ui-map.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Yup that was it. Is it possible to not have a directions panel? In my case I am 
just drawing route for a visual indicator. 

Original comment by [email protected] on 29 Aug 2011 at 5:31

  • Added labels: ****
  • Removed labels: ****

from jquery-ui-map.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
You should be able to set panel to null, or the parameter to null/{}

$('#map_canvas').gmap('displayDirections', { ... }, null, function(result, 
status) {

});

Original comment by johansalllarsson on 29 Aug 2011 at 5:37

  • Added labels: ****
  • Removed labels: ****

from jquery-ui-map.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
I get 
b is null

when i set the panel to null. I tried to update the services code so it would 
check for null but it seemed like the panel and route gets generated in one 
call vs it being separated out. I'm still new at js so I might be wrong but atm 
it errors out. 

Original comment by [email protected] on 29 Aug 2011 at 6:12

  • Added labels: ****
  • Removed labels: ****

from jquery-ui-map.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Changed so that you should be able to go with null now: 
http://jquery-ui-map.googlecode.com/svn/trunk/ui/jquery.ui.map.services.js

Original comment by johansalllarsson on 29 Aug 2011 at 6:34

  • Added labels: ****
  • Removed labels: ****

from jquery-ui-map.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
I tested this and it works great. Thank you. 

On a side note, is it possible to have waypoints because I have multiple 
"stops" on the map I'm building so I need to display multiple routes on one 
map. 

Original comment by [email protected] on 30 Aug 2011 at 10:41

  • Added labels: ****
  • Removed labels: ****

from jquery-ui-map.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.