Hi guys

So i'm building a Cloud based fleet tracking web site for a Client.. the device sends gps data to my php via HTTP post, and it saves to mySQL..

The real challenge is to display the data nicely..

I basically i need to display the routes the vehicles took, along w/ its current location, and all that.

I'm fairly experienced w/ PHP and jquery...

i've read up on the Google API and all that but now I feel that I should instead go w/ one of those existing jquery plugins to make my life easier.. with that said, and for the my purpose, what would be the best plugin for this?

and YES i have googled and watched youtube videos and checked out articles , but t here's just too many options .. hoping someone can just set me in the right direction and tell me why

Thanks very much guys.

TJ

    What's wrong w/ Google Maps API and using "google.maps.Polyline" to highlight your route with the data you've already captured?

      jeepin81;11040829 wrote:

      What's wrong w/ Google Maps API and using "google.maps.Polyline" to highlight your route with the data you've already captured?

      I was actually going down that route, but have you checked out gmaps.js and those other cool API's? it makes things a lot easier, finish faster, and risks lesser bugs.. and what's best is that some of these plug-ins allow me to switch to different map services, so i dont need to be tied down w/ just google maps w/c they started limiting a lot in order to force some people to pay for subscription..

      So generally i feel it's best for me to go build my app based on plugins and helpers rather than manually write everything w/c is quite tedious work. I wana work on the GUI, the features, and etc I want / need for my app, and not worry too much on the map side of things..

      So yeh that's where i'm at.

        Tea_J wrote:

        it makes things a lot easier, finish faster, and risks lesser bugs..

        Well, as far as "finish faster" goes... it's been (at least) forty hours for you so far based on the time of your first post.

        As for

        w/c is quite tedious work

        Programming is hard: news at 11. Any plugin you pick is going to place demands on you to work with it, and is going to constrain you in what you can do, so you're not going to get away from "tedious work" - sooner or later you're actually going to have to do some work (unless you get someone else to do it for you). Whether the constraints are acceptable and the amount of work is reasonable depends on the architecture of your system and what exactly you want to do with the plugin - both of which are things you will know better than anyone else here.

          Additionally, as I understand it, you will only be working with (lat, long)-pairs and have no need of mapping mouse clicks to such coordinates, or anything else that a jquery plugin or other google maps wrapper might assist you with. It would seem that all you really need is…

          Step 1. Initialize your map.
          This can obviously can be done using jQuery. But if you do not already use jQuery on your site, you might just as well do this using google.maps.event or whatever it is called.

          Step 2. Create a Polyline
          As jeepin has already pointed out, this is how you create a line from your coordinates.

          Step 3. Profit

            Weedpacket;11040845 wrote:

            Well, as far as "finish faster" goes... it's been (at least) forty hours for you so far based on the time of your first post.

            As for Programming is hard: news at 11. Any plugin you pick is going to place demands on you to work with it, and is going to constrain you in what you can do, so you're not going to get away from "tedious work" - sooner or later you're actually going to have to do some work (unless you get someone else to do it for you). Whether the constraints are acceptable and the amount of work is reasonable depends on the architecture of your system and what exactly you want to do with the plugin - both of which are things you will know better than anyone else here.

            1) Well i've not really started yet.. I start the project in 2 weeks and hope to have a clear path by then
            2) i don't mind the programming work, i love to code.. but one thing I learned is if there's an easy path to finish specially w/ a not-so-well-paid projects, better take the easy road hehe. I'm sure I will need to do some hard coding for things the plugin doesn't support but at least that's all i have to worry about.. i mean seriously, compare the initialization and polyline creation using Google Map API vs some of the map plugins.. i don't see what's wrong w/ skipping most of the redundant steps..

              johanafm;11040847 wrote:

              Additionally, as I understand it, you will only be working with (lat, long)-pairs and have no need of mapping mouse clicks to such coordinates, or anything else that a jquery plugin or other google maps wrapper might assist you with. It would seem that all you really need is…

              Step 1. Initialize your map.
              This can obviously can be done using jQuery. But if you do not already use jQuery on your site, you might just as well do this using google.maps.event or whatever it is called.

              Step 2. Create a Polyline
              As jeepin has already pointed out, this is how you create a line from your coordinates.

              Step 3. Profit

              I like STEP 3 a lot hehe

              Yeh i don't need much fancy stuff , i just need to display the coordinates and routes taken and have a few options .. it's pretty basic requirement.
              thanks

                Write a Reply...