Easy Location Share with Google maps

merrak

  • *
  • Posts: 2738
It's possible I just wasn't patient enough with my data plan and it was slow. I gave it about 30 seconds and nothing came up. After enabling wifi it took about 10 seconds. Either I had two slow connections or there's a lot of data being transferred. It's possible the connection is slow. I'm at the dealership waiting for my car service. They give us free wifi in the lounge, but there may be a lot people using it.

The address is correct, so it looks like it's just the marker that's off. I'll try it again when I get home.

This does sound like a pretty tough project :) I'm impressed with what you've got working so far. It's great to see something like this made in Stencyl.

squeeb

  • Posts: 1617
It's possible I just wasn't patient enough with my data plan and it was slow. I gave it about 30 seconds and nothing came up. After enabling wifi it took about 10 seconds. Either I had two slow connections or there's a lot of data being transferred. It's possible the connection is slow. I'm at the dealership waiting for my car service. They give us free wifi in the lounge, but there may be a lot people using it.

The address is correct, so it looks like it's just the marker that's off. I'll try it again when I get home.

This does sound like a pretty tough project :) I'm impressed with what you've got working so far. It's great to see something like this made in Stencyl.

if you use the road map or terrain map, itll use less data and be faster.. hybrid and sat maps are larger files sizes.. i may have fixed the placement bug.. i changed the origin of the marker actor.. and now itll tween from the bottom center...

I appreciate your kind words!! 
top right of the screen has your speed in MPH ill make an option to change from kilo to miles and C to F

the pinch to zoom is still close.. i left in the debugging if anyone wants to see it..
this is on screen in this order top to bottom
distance between pinch actors
old zoom attribute
actual engineZooom attribute
touch 0 bool
touch 1 bool
is multi touch bool

« Last Edit: August 20, 2018, 09:07:57 am by squeeb »

mdotedot

  • Posts: 1654
Hey Squeeb,

Still no map for m.e.
The location hasn't changed and it is about 5 km away.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

squeeb

  • Posts: 1617
Hey Squeeb,

Still no map for m.e.
The location hasn't changed and it is about 5 km away.


Im failing m.e.!   And myself.  I will fix this issue.  ill have a new build soon.
This is a test of location based player movement.  I drove my car from the corner by the  gas station.. to a round about... and to the dealership i work... then i update the map to street level zoom and walk into the building... this is a test for accuracy... i can smooth out the movement.. and there is a bug where it bounces my location to the wifi at work while driving hahaha..
<a href="https://www.youtube.com/v/F7KQnN9dFNs" target="_blank" class="new_win">https://www.youtube.com/v/F7KQnN9dFNs</a>

squeeb

  • Posts: 1617
Here is the latest beta with
swipe left or right 3 times to set left or right handed mode
landscape and portrait maps!
slider zoom
movement.   walk around and see where you are.  still polishing this part.  trying to eliminate the bounce back that happens sometimes
feel free to test and give your feedback.  i hope a few of the bugs are now fixed

squeeb

  • Posts: 1617
Beta 5 has pan scrolling thanks to GreatAnthony!  drag 2 fingers on screen to look around the map!  i disabled the camera following you as you move in this build to show the pan.  ill make it so itll do both in the next beta.
some optimizations,
issues
still cant figure out whats up with M.E.'s map issue :/
drawing on map with finger is hard to calculate where to change the pixel color.  my scene is 11520x11520px  i use 11520x6400.  i use up to 45 map tiles that are 1280x1280..  i want to draw on those.. im close!!

Going to make camera able to pan and follow you. Smooth out maps loading and placement while driving.. ittl place you then load map.. it isnt seamless.  i have a few navigation and map ideas that work while driving.. so ill need to polish that

i left in some debug stuff so you can see your coordinates in real life, lat and long... and googles world coords,  pixel,  and tile coords

designpeg

  • *
  • Posts: 731
Hi, this looks really cool! Would you be willing to share the extension that gives you the coords from the device? I'm working on an idea that could really use this.

Thanks

squeeb

  • Posts: 1617
Hi, this looks really cool! Would you be willing to share the extension that gives you the coords from the device? I'm working on an idea that could really use this.

Thanks

Thank you.  Theres way more working here than just coords from the device.  The extension gives you lat and long as an attribute.  Everything else i put together piece by piece.  Id love to  work on it with you if you like.  I pmd you

squeeb

  • Posts: 1617
almost done.. i think haha.. still working out a few things.. newest beta 6.. drag 2 fingers for panning around the map.. hit the focus button to lock back onto your location