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

mymap.addpath(path,"#00FF00") changes list #5

Open
GoogleCodeExporter opened this issue Mar 28, 2015 · 1 comment
Open

mymap.addpath(path,"#00FF00") changes list #5

GoogleCodeExporter opened this issue Mar 28, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I'm not sure if it an issue… i haven't noticed it before, but now it bothers

What steps will reproduce the problem?
1. path = [(37.429, -122.145),(37.428, -122.145),(37.427, -122.145),(37.427, 
-122.146),(37.427, -122.146)]
2. mymap.addpath(path,"#00FF00")
3. path
[(37.429, -122.145), (37.428, -122.145), (37.427, -122.145), (37.427, 
-122.146), (37.427, -122.146), '#00FF00']

What is the expected output? What do you see instead?
expected unchanged path[], because it is needed for other purposes.

What version of the product are you using? On what operating system?
pygmaps                   - 
  INSTALLED: 0.1.1 (latest)

Darwin 124-11-214-248.static.tfn.net.tw 12.2.0 Darwin Kernel Version 12.2.0: 
Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64

Please provide any additional information below.
if this behaviour is by design, please just let me know and ignore the issue

Original issue reported on code.google.com by [email protected] on 16 Nov 2012 at 1:26

@GoogleCodeExporter
Copy link
Author

I have submitted a patch that fixes this bug and the same bug in radpoints.

The patch also supports filled polygons.  

If it doesn't make it into the download, I have attached the code here.

Original comment by [email protected] on 2 Feb 2013 at 8:31

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

Attachments:

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

No branches or pull requests

1 participant