yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] jcleek:
I never use local storage
[Windows Mobile Apps and Games] wafwot:
I never use local storage, either.
[Windows Mobile Apps and Games] Lidberg:
I vote for getting rid of local storage option if it will make development easier. I have never used it.
[Windows Mobile Apps and Games] odie3:
I never use it either but knowing my luck I'll need if you removed it! :lol:
[Windows Mobile Apps and Games] _LEM_:
ok guys, new version available.

I haven't removed Local Storage, but I have limited a few functions and I have completely separated Local from Storage, so I think everything looks much better.

I'm working now on a Color Scheme for TrackMe, so people can select the color of the background.
[Windows Mobile Apps and Games] jcleek:
How about just giving us a link to the page? Much easier to see what is happeneing if we can see what is happening...
[Windows Mobile Apps and Games] mattmcl1:
Page

www.mclaughlins.us/trackme/matt/index.php
[Windows Mobile Apps and Games] warmkiwi99:
OK, I admit defeat. Using your latest version, how do you create a local file then load it remotely?

Also, when uploading a picture, I don't get a folders/browse option?

Thanks

btw i use local storage but could probably live without it if it makes development easier......
[Windows Mobile Apps and Games] jcleek:
The problem is that in your config file you have this line:

$googleview = "hybrid";

That is not a valid view for Google Maps. If you want the hybrid view you need to set this line to:

$googleview = "G_HYBRID_MAP";

Here is a copy of your code with the correct setting:

http://www.getcis.com/trackme/test.html

You can see it works perfectly. Make the change to your config.php and you should be fine.
[Windows Mobile Apps and Games] warmkiwi99:
i don't need offline storage
[Windows Mobile Apps and Games] _LEM_:
sorry man... those are the features that I have removed.

do you use that very often? :(

I just want to make everything consistent. If you say 'Local mode' I don't want TrackMe to use any remote servers.

Many users are always confused with that. But I feel very bad is removing functionality...
[Windows Mobile Apps and Games] keepcoolman:
Hi,

great software!

I use both - local storage and remote and feel very comfortably to have both.

thanks

keepcoolman
[Windows Mobile Apps and Games] Blar:
WOW! I just played around with this program in my back yard, and this program is nuts! This is going to prove very handy when I travel and don't always want to update friends where I am. Now they can just login to your site and presto! Well, I guess it is time to donate...
[Windows Mobile Apps and Games] Jens-:
Yesterday I installed the new version on my phone, I also installed the new files on my server and ever since I don't see new GPS positions on the database.

On the phone it sais uploading... Position added correctly.

But when I look in the database no new positions.

And the strange thing is, new tripnames and new users are added to the database correctly!? Anyone with the same problem?
[Windows Mobile Apps and Games] _LEM_:
Did you make the change in the database? There is new field that I added.

Check a few posts before, I included the script there. Maybe that is the problem.
[Windows Mobile Apps and Games] mattmcl1:
Thanks a bunch! Works great!
[Windows Mobile Apps and Games] wafwot:
New MapTypeControl

I was playing around with the Google Maps API, and saw there's a new MapTypeControl.... and it looks pretty cool with TrackMe.

If ya wanna play (or jcleek wants to add it to the server pages), open index.php and add the following, somewhere around line 280 of the lastest version (somewhere after initializing GMap2):

$html .= " map.addMapType(G_PHYSICAL_MAP);\n";

You can optionally change your $googleview setting in config.php to G_PHYSICAL_MAP to make it your default view.

And if jcleek does add it to the server pages, it can be added to the install.php file as a choice for default map.

Pretty nice!
[Windows Mobile Apps and Games] wafwot:
Crosshair

One thing that bugs me about zooming out and in with Google Maps is trying to center a new position before zooming.

For example, the TrackMe map shows the entire track when it loads. If you want to zoom in on a particular area (the start, end, or custom icon), you have to pan the map and "guesstimate" that the position you want to zoom in on is in the center before zooming in on it. I don't know about you, but I'm never on target.

I've seen that Yahoo Maps has a crosshair that make zooming in on the spot you want VERY easy... and just KNEW it could be done with Google Maps... It was pretty easy, actually, and here's the code I added to my index.php file to create floating crosshair on the map:

I've attached a crosshair.gif image, too.

$html .= "	var centerCrosshair = new GIcon();\n";
$html .= "	centerCrosshair.image = 'crosshair.gif';\n";
$html .= "	centerCrosshair.iconSize = new GSize(17, 17);\n";
$html .= "	centerCrosshair.iconAnchor = new GPoint(8, 8);\n";
$html .= "	centerCross = new GMarker(map.getCenter(), { icon: centerCrosshair, clickable: false }); map.addOverlay(centerCross);\n";
$html .= "	GEvent.addListener(map, \"drag\", function() { setCenterCross(); } );\n";
$html .= "	GEvent.addListener(map, \"resize\", function() { setCenterCross(); } );\n";
$html .= "	GEvent.addListener(map, \"zoomend\", function() { setCenterCross(); } );\n";
$html .= "	function setCenterCross() {\n";
$html .= "	centerCross.setPoint(map.getCenter());\n";
$html .= "	};\n";

If you'd like to see a demo, check out my map at http://www.wafwot.com/gps/index.php?ID=222&trip=113

The crosshair won't display unless you start to scroll/pan/resize/zoom the map.
[Windows Mobile Apps and Games] _LEM_:
it looks great!

The only thing is you have to use the Zoom bar on your left. I'm used to use the wheel mouse.
[Windows Mobile Apps and Games] wafwot:
Okay.

Add a couple more Listeners:

$html .= " GEvent.addListener(map, \"wheelup\", function() { setCenterCross(); } );\n";
$html .= " GEvent.addListener(map, \"wheeldown\", function() { setCenterCross(); } );\n";

That should fix the scroll wheel not showing the crosshairs. I can't test it since I don't have a wheel mouse on my laptop.
[Windows Mobile Apps and Games] jcleek:
It is important to note that although I can (and have) added this option to the config and install files, the buttons seen on the actual map to select NORMAL, SATELLITE and HYBRID are controlled by the Google GMapTypeControl() control and I can not just make a PHYSICAL button appear there. You can now select the PHYSICAL option but once you click off of it to NORMAL or some other option you will have to reload map data or the page to get back to PHYSICAL. At some point Google will do to the API what they have already done to the Google Maps page and that is remove the Satellite view and replace it completely with the Hybrid view and add the Physical one.

I will get the new files uploaded after a couple more tweaks and they should be available for download later.

Also, I am still looking for updates to the language file because of the fields I added last week.
[Windows Mobile Apps and Games] jcleek:
Version 1.12 of the server display is ready. Staryon you can get it from the usual place, and please replace all of the files in your zip with the ones in mine. All files were updated.

Changes in 1.12:

1) Added option for G_PHYSICAL_MAP which displays a topographical map. (wafwot)

2) Added an option for a crosshair in the center of the displayed map. (wafwot)

3) Cleaned up the installer to fix some problems as well as the code in the index.php to make it easier to follow the output code for troubleshooting.

If you do not wish to re-run the install.php you will need to manually add the following lines to the config.php file:

// Display crosshair at map center (yes or no)
$crosshair = "yes";
[Windows Mobile Apps and Games] wafwot:
Am I missing something? The addition of the PHYSICAL map adds a "Terrain" button to my map... to the right of the standard Map, Satellite, and Hybrid buttons. All TrackMe data is displayed on the Terrain/Physical map.

(btw, this my first post written from my phone.)
[Windows Mobile Apps and Games] jcleek:
Right you are. You gave me the instructions for adding that and I misunderstood and put it somewhere else. The package has been fixed and since Staryon hasn't updated his files yet we should be good. No version change.
[Windows Mobile Apps and Games] Maartuhh:
Thnx

Dear Luis,

I would like to thank you for such a great app! I can use this app to help people with a driving fear. Keep going!;)

M
[Windows Mobile Apps and Games] _LEM_:
Files updated.

wafwot, the problem with the wheel mouse is still there. It only works if you place your mouse exactly over the crosshair and you don't move it.
[Windows Mobile Apps and Games] _LEM_:
You're welcome! I'm glad this program could be useful for something like that.

Regards
[Windows Mobile Apps and Games] phlunkie:
Awesome

I would like to thank all involved in making this awesomely cool program.

:D Just loaded this morning and have been playing with it for an hour or so.

Thank you.
[Windows Mobile Apps and Games] jcleek:
Got a sample page that has the problem? Check out my page and you can see that I don't have that problem with the new code. Or if you do have the problem on my page you need to look at your system perhaps. What web browser are you using?
[Windows Mobile Apps and Games] odie3:
Same here, mine works too (and nice to have BTW). However, I am using Firefox...
[Windows Mobile Apps and Games] _LEM_:
I tested your page with Firefox and IE. Same problem.

Try to move your mouse from one place to another every time that you scroll with the wheel mouse.
[Windows Mobile Apps and Games] _LEM_:
I just recorded a video that shows the problem.

You can see that every time I move the wheel the map scrolls to the right, because the mouse pointer is located there.

http://luisespinosa.com/temp/error.avi
[Windows Mobile Apps and Games] odie3:
I have a question about Force Updating (with a Comment, Picture, and Icon) when you have no internet connection. When doing a Forced update and your internet connection is down, do they get saved offline for later uploading?

I am going to be making a trip over the holidays where I know my PDA will lose internet connection for about 60% of the trip. During those times I want to take pictures of our stops we make and have them on my trackme site (but I'll need to upload them as offline positions).

Or is that was store offline/local is for?
[Windows Mobile Apps and Games] _LEM_:
Yes, the only thing is you won't be able to store an offline position that include an image (unless that you already have the URL) because they need to be uploaded right away to the server.
[Windows Mobile Apps and Games] jcleek:
What I saw on your video is the expected behavior. The crosshair icon on the map does not change the scrollwheel behavior, and the behavior in your video is what is supposed to happen. The advantage of the crosshair is for those without a scrollwheel that must use the zoom level graph on the left side to allow them to center their view before zooming in. The way I see it your page is working correctly. Google Maps zooms using the wheel centered directly on the location of the icon.
[Windows Mobile Apps and Games] _LEM_:
Really? In that case you should tell the guys from Yahoo maps ;) , because that works exactly how I expect and that's what I think wafwot was trying to replicate.

In YM, the map zoom in/out is based on the position of the crosshair and not where you mouse pointer is located.
[Windows Mobile Apps and Games] bouyaka:
map

hello Staryon and bravo for this gr8 app! :D

when I send "my position" (on of my favorite feature) the contact receive a mail with a link to a googlemap in "MAP" mod. would it be easily possible to have anoption in the app configuration that enable you to choose between : "MAP, MIX or AERIAL" map. and why not a zoom level !!

bravo again!
[Windows Mobile Apps and Games] jcleek:
If you go to http://maps.google.com I believe you will see the same behavior. Yes? No?
[Windows Mobile Apps and Games] _LEM_:
I don't understand your question. In Google Maps there is not crosshair.
[Windows Mobile Apps and Games] _LEM_:
In the email, I provide 2 links, one for Mobile view and one for Desktop view.

Are you talking about the Desktop view?
[Windows Mobile Apps and Games] bouyaka:
booth of them in fact. I think it's more fun for pepole to see where I am than the name of the street where i am :p

and maybe if I can link this command to to a key, I would love that! I Know it's not the goal of this software but that could be e little bonus!:D
[Windows Mobile Apps and Games] _LEM_:
bouyaka, on the right there are 3 buttons where they can choose either Map, Satellite or Terrain. Why don't they just click on that?
[Windows Mobile Apps and Games] bouyaka:
or a more creazy idear would be to send a map by MMS but i think it's not possible because the mobile phone can not generate the map...?:confused:
[Windows Mobile Apps and Games] odie3:
Might this be supported at some point in the future? Tagging a photo to a offline position?
[Windows Mobile Apps and Games] _LEM_:
Not sure. It's complicated to do that right now.
[Windows Mobile Apps and Games] odie3:
I'll take a "not sure" over a "no" any day. ;)
[Windows Mobile Apps and Games] jcleek:
Forget about the crosshair. The crosshair has no functional value. It does not change the way zooming works.

The reason for the crosshair can be seen this way: go to one of your routes. Any route will do but it needs like 3 points or more. Notice how the entire route shows up in the window? Look at one of the points furthest away from the center of the map and focus on that one. Using ONLY the zoom bar on the left of the map, zoom in the maximum detail level on that point. If you just hit the + to zoom in, notice how that point eventually goes off the page? Using the zoom bar on the left you have no control on where the zoom action is centered: it centers on the center of the map. Enter the crosshair which gives you a graphic reference of the dead center of the map. You can pan the map to put the point you want to see at the center, and then successfully zoom in on it with the zoom bar.
[Windows Mobile Apps and Games] _LEM_:
come on odie3... do you remember what happened with this problem showing pictures from the storage card?. At the end I found a solution for that. :p

It can be the same with this!

Actually I really need that feature. I'm in Spain and I use offline data all the time because I don't have any internet plans here. Sometimes I would like to take a picture and upload the position and it's not possible... I wish I could tell you there is an easy fix!
[Windows Mobile Apps and Games] _LEM_:
Well, that's your opinion. Not mine. Did you check Yahoo maps?

It really has a 'functional value' there.
[Windows Mobile Apps and Games] jcleek:
I mean on the google maps display page it serves no purpose. It is just a graphic and has no real functional value. I am not familiar with Yahoo maps, but I am just answering based on the behavior on Google maps. The crosshair just marks the center of the map.
[Windows Mobile Apps and Games] odie3:
I am guessing you completely misunderstood my response of, "I'll take a "not sure" over a "no" any day."

In fact I was remembering your stated "No" for Storage Card browsing (then like 15 minutes later you had it fixed).

Any ways, I meant that there is hope since you stated "Not Sure", rather than a "No". So I was being positive, rather than negative. Sorry if I came across that way. :(
[Windows Mobile Apps and Games] _LEM_:
oopss.... sorry man, too many messages today!
[Windows Mobile Apps and Games] wafwot:
The crosshairs are just a visualization of the center of the map. From what I can tell, zooming in on the map -- either with the API map control, or the wheel mouse, on both Google and Yahoo Maps -- always zooms on the center of the map.

I don't see any functional difference between Yahoo Maps and Google maps when it comes to the crosshairs. I even "borrowed" a co-worker's workstation to try it out. Both Yahoo Maps and Google Maps zoom in and out on the center of the map using the mouse wheel or the built-in API control.

The only difference I could see was Yahoo Maps maps recenters the map on click. That's easily doable, if you want, by adding a new Listener:

$html .= " GEvent.addListener(map, \"click\", function(marker, point) { if(! marker) { map.panTo(point); map.setCenter(point); setCenterCross(); } } );\n";

I'm not a big fan of the click-to-center (center on click) functionality, though... but there it is.

I did find another little tidbit I think is really cool. The "overview map inside a map" in the lower right-hand corner. It's a smaller, zoomed out version of the current map that allows you to drag a frame. You can see an example on the main Google Maps page.

Just add this after initializing GMap2:

$html .= " map.addControl(new GOverviewMapControl());\n";

I found that the crosshairs didn't update if you use the overview map to pan. A simple fix it to add yet another listener with all the others:

$html .= " GEvent.addListener(map, \"move\", function() { setCenterCross(); } );\n";

All of these little "add-ons" to the map could be controlled in the config.php...
[Windows Mobile Apps and Games] _LEM_:
This is my last post about this. I'm tired of wasting my time with this.

Here are 2 videos showing a place in Google Maps and the same place with Yahoo maps. I zoom in using ONLY the mouse wheel. You can see that the results ARE COMPLETELY DIFFERENT.

Google video

Yahoo video
[Windows Mobile Apps and Games] _LEM_:
I just updated the first post with my to-do list. I also added your Google Maps API request.

TO-DO List:

- Export to GPX files

- Provide PHP pages and mysql database for using own server.

- Generate KML/GPX files locally or remotely.

- Store GPS positions locally or remotely.

- For remote use, let the user choose between ASP or PHP pages.

- Export using Google API

- Delete trips

- Export text to different languages.

- Support for Smartphones.

- Simple and Advanced mode.

- Fix problem with KML files (mime-type problem?)

- Auto start option.

- Add a "forced position" update and display it with a different color. (add comments too)
[Windows Mobile Apps and Games] _LEM_:
hey guys,

I'm done with the part that lets you to generate the kml files locally or remotely. You can also generate them remotely and then download them to your PDA. That's working fine.

at this moment I'm stuck trying to upload a KML generated local file... this is driving me nuts! :(

I hope to have a new version soon!
[Windows Mobile Apps and Games] anarche:
Sounds great. Great to have a dedicated developer working on such a great app.
[Windows Mobile Apps and Games] SKSAustin:
Hey..

Sorry for the question, but after i use the programm and have made an upload of both.. "offline position" and "Google Earth" - all went ok and uploadet - my problem now is...

Where i can see my route and the account that the Programm made, what account is this on what side? :-)

Maybe some manuel like Dokument can help.. ? :)

cu

sksaustin
[Windows Mobile Apps and Games] anarche:
In the settings there's a tab to setup your "account". Keep in mind from your PDA you are creating the account.

Once you setup your username/password, you can then visit your page at:

http://luisespinosa.com/trackme/routes/username.kml (where username is replaced with the account name you provided in the configuration.

_________________________________

Strayton: Any chance of using a shorter domain/path? :-)
[Windows Mobile Apps and Games] _LEM_:
I just made a change on my web server and now you can just enter this:

http://luisespinosa.com/<username>

Try it and let me know if it works.

By the way, I'm already testing the new version. So far... so good!! If everything goes ok, I will upload it tomorrow.
[Windows Mobile Apps and Games] jcleek:
It works correctly with the doughtcom page for me.
[Windows Mobile Apps and Games] _LEM_:
jcleek, thanks a lot for that great review! I love when people do that. It always encourages me to keep developing and updating the software.

Regarding your requests...

1. Yes, it makes sense. I will add an option in the Configuration to do that.

2. That's in the to-do list. I will try to have that fixed for the next version.

3. I will have to research on that. At this moment I don't know how to do it but I'm sure there has to be a way.

4. uhmm... not sure if I understand. When you restart, if you click on 'Get existing trips' you should get your trips back. That's what you mean?

5. Added to the to-do list.

Regards
[Windows Mobile Apps and Games] while(!(linux)){wm}:
staryon,

I have my web server receiving the data now and generating a kml file. However, even though the information gets to my script, TrackMe tells me that it was not able to send the data. Is there some response that my server has to give so that TrackMe knows everything worked?

Thanks
[Windows Mobile Apps and Games] jcleek:
Don't thank us, you are the one doing the work and obviously we appreciate it. Thank you.

I am not sure how to explain what I mean, or how to implement it. A scenario might help you understand what I am having trouble explaining:

You go on a road trip to Sturgis (yes, I ride motorcycles AND I am a geek). It is a great trip and you want to save the entire route but dont want to leave the phone on the entire time. If you turn the phone off the application stops. If you have to reset the phone, the application stops. And that will cause the route to be wiped by the new route. But you want to keep the entire route. How? Without a computer to download the google file there is no way for me to capture that data.

Does that help understand what I mean? It would be nice to locally and remotely record a trip until a manual reset is done. Have you ever used a full GPS like a Garmin? I have a Zumo and it records a trip log until I reset it or it runs out of memory. I can turn the Zumo off and on, take it off the bike, etc and the trip log will start right back up and continue where it left off.

Hope that helps!
[Windows Mobile Apps and Games] _LEM_:
I see you guys cannot wait until I release the files! :D

Ok, here are the php files and the database script.

All this may change for the next version, so keep that in mind if you want to use them.

By the way, if you guys find something that can be improved or changed, please let me know. I'm not an expert writing PHP files!