7

I am new to Python and I am trying to plot points(longitude,latitude) on google map in Python. I found a lib gmplot for the same but I am only able to draw drop pins instead I want to draw circles/points on the map. Could anybody show an example as for how to do it? I didn't find any example in StackOverflow.

Thanks

1 Answer 1

7

Look at the github page for this package. In their example they have the following;

gmap.plot(latitudes, longitudes, 'cornflowerblue', edge_width=10)

Replace 'latitudes' and 'longitudes' with arrays of the points you want.

I also saw in the code they have posted there a 'polygon' method, but the above was sufficient for what I needed.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.