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

Possible to add "Area" real time. #4

Open
stephen-murby opened this issue Jul 18, 2013 · 3 comments
Open

Possible to add "Area" real time. #4

stephen-murby opened this issue Jul 18, 2013 · 3 comments

Comments

@stephen-murby
Copy link

I would like to open the app with and empty "map" and add points onto it whilst the application is running. At least I think I do, I want to end up with a Google map esq, dropping pins onto an image, with the gestured zooming, and scrolling.

@KrishnaNaik
Copy link

Hi Stephen,
I also want to achieve the same thing. The image map on which I want to create hot spot will be on remote server and I will display it at runtime by fetching it from the url. Can this be possible? Please answer...

Krishna

@stephen-murby
Copy link
Author

Apologies for the slow reply, I haven't looked at this project for a few months. It was a very quick app that I was throwing together and didn't spend any time extending the class to accommodate this, I had a work around where I could get the 'pin' locations up front and add them to the XML definitions.

@fess89
Copy link
Contributor

fess89 commented Jan 4, 2014

The XML parsing is done in the loadMap(String map) method. So you should look inside that and probably create a method of your own, say loadMapFromServer(), which does similar things but loads the map from the remote server instead of parsing XML. The addShape() method is now protected, not private, so you should be able to use it in the loadMapFromServer() method.

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

No branches or pull requests

3 participants