in reply to Re: RFC: Geo::Google::MapObject
in thread RFC: Geo::Google::MapObject

Would it be possible to show an example in which dragging (then dropping) an alien on the map results in some kind of round-trip ajax/json thing to/from the server?

For example: "You dropped Alien #1 at (lat)/(long)"

Actually one does not need to go back to the server for this. The information is available in the client before it posts a request to the server. So I easily could add a bit of javascript to display something to that effect. You can also see the same information by just refreshing (ctl-R) in the table on the right.

In terms of what I need to change the following strike me as priorities:

  1. Experimenting with or analyzing the algorithm to calculate the zoom level. Arguably the current one is not adequate, though it definitely meets the requirements I set for it. As such it might count as a bug. Still I specifically put in hooks to make it changeable without changing the code.
  2. Adding screens to show the paths that the creatures have travelled. As this would depend on adding missing features to the module this ranks highly for me.
  3. Something to dynamically translate the points to real locations as in http://gmaps-samples.googlecode.com/svn/trunk/geocoder/singlegeocode.html. It was in my original intention that when you hover over the table on the right a tooltip with a small map pops up but I got stuck.
  4. As the website if one of my experimental labs, it may be that the next thing I need to add is - Larry forbid - advertising.
Anyway it will be my needs or feedback that will determine what (if anything) I do next with this site.

Edit:I've made some experimental changes to zoom algorithm and put in appropriate links.