Ultimi aggiornamenti: javascript RSS

  • KML + MarkerManager 

    bigonazzi 22:57 on 16 March 2009 Permalink | Replica
    Tag: ajax, Gmaps, google maps, javascript, kml, library, manager, mashup,

    I’m working on a little Google maps mashup and I could not find anywhere a way to efficiently manage multiple markers coming from external kml files (think my maps kml files). Of course you can render them easily with GGeoXml, but then you cannot use MarkerManager. Of course you can use MarkerManager with KML files (trough EGeoXml and others), but you are limited to local files, due to the infamous same origin policy of ajax requests.

    What to do?? Write my own library: http://wiki.github.com/bigonazzi/kmlmmanager get it while its hot! ;)

    I don’t know exactly how GGeoXml works its magic (iframe?) but instead of reinventing the wheel© I decided to piggyback GGeoXml… at least until I find a better way to do it!

    Note: please be gentle, I’m pretty new to Javascript

     
    • Allison 3:06 on 2 Aprile 2009 Permalink | Replica

      Is it possible to use this with kml line data? I would like to be able to have 1 kml file and then be able to search through these routes with two drop down menus. One for the starting point and one drop down menu for the ending point.

      • bigonazzi 6:01 on 2 Aprile 2009 Permalink | Replica

        Internally it uses the google kml parser so it should work ok with any kml file. I’ve only used with markers tough. If you try let me know how it goes.

  • Sproutcore + Rails 

    bigonazzi 14:06 on 22 July 2008 Permalink | Replica
    Tag: , javascript, rails, , srpoutcore, web

    Because of MobileMe and Live Mesh (the latter being Microsoft’s latest weapon to be a big boy on the internet, and I predict this time they will finally succeed big time), I found out that MobileMe is actually based on this open source javascript framework named Sproutcore.

    You have to look for yourself what it’s all about. This is not like Prototype, jQuery or all those others. This takes MVC to the web browser, advocating fat clients. It does this with Cocoa inspired features.

    Read the rest…

    dArio

     
c
scrivi un nuovo post
j
post successivo/commento successivo
k
post precedente/commento precedente
r
rispondi
e
modifica
o
mostra/nascondi commenti
t
torna a inizio pagina
l
go to login
h
show/hide help
esc
Annulla