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:
- 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.
- 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.
- 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.
- 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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.