-
Notifications
You must be signed in to change notification settings - Fork 12
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
Map to display all User Group in India #15
Comments
Like I mentioned in a mail on the PSSI list, let's have this feature on the python.org.in app. Let pssi.org.in totally be about PSSI. We can show the map on this site but then link to python.org.in for any further development. |
I'd like to take this up. However, I have a few questions:
|
I think this is isn't urgent, so @kbhat95 feel free to pick up something else. Have a look at source and setup local environment, we can discuss about other issues in the venue. |
@iambibhas I think it would be good show google maps in local user group link of pssi website where we show usergroup list. We can extend same feature in python.org.in |
@vnbang2003 I was also thinking along those lines and have looked into the API. Can we discuss this today? |
Sure . I will be coming a bit late till that point feel free to take up other tickets |
@kbhat95 , |
@vnbang2003 , yes. Should I proceed by maintaining a list of lat / long? To me it seems like overkill, since the Google Maps API is quite flexible and can place markers based on address as well. Also, for now should I just hardcode the API request string into the template? If not (i.e., if we're going the json way), I may need some help. :) I'll begin work this weekend. Regards, |
@kbhat95 Let follow some data structure so it easier to add new in feature. Just make choice accordingly. |
This is what I have so far: The overlap of some user groups can be fixed easily; this is a prototype. :) |
@kbhat95 This looks good . Onblur over will it show link to localuser and meetup link as shown in the page ? |
The static maps API doesn't support text on hover-over. But since we are placing the map alongside the list of user groups, I can just indicate the letter next to the group in the list. My question is: how do I embed this Python code and use it in template without having to define a view for it? |
you need to define new view and point /usergroups/ to the new view which will solve the problem. |
Sorry for the delay; got caught up in other work. I find myself confused as to where to put the view that I've created. Do I create a new views.py withiin /pssi/ ? |
Have a map on the site that shows the current local user groups across the country and the one closest to the user. If there is none, the user can start and list one.
The text was updated successfully, but these errors were encountered: