Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Anyone worked with Google Maps API over HTTP in T1?

Author
Message
f098f
10
Years of Service
User Offline
Joined: 28th Mar 2014
Location:
Posted: 29th Mar 2014 02:10
I don't want to have to reverse engineer the javascript SDK and was hoping someone did some functions. I have an idea for a design and I need to pass lat&long or street addresses that are within x miles of GPS lat and long.
Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 29th Mar 2014 09:31
Did you check the HTTP examples?

I'm sure it does exactly what you need - pass the coords and receive a map image...



I am the one who knocks...
f098f
10
Years of Service
User Offline
Joined: 28th Mar 2014
Location:
Posted: 29th Mar 2014 16:10
Here I implemented all the features except custom icons for markers. I did zoom with mouse wheel but there is a control issue in AppGameKit with raw mouse data.

This stuff is easy. The algorithms to detect hover on markers and which marker is being hovered would be difficult. I know the algorithm could use the fact the map is centered on a specific address or lat&long with bitmap dimensions, but it'd take some math.

f098f
10
Years of Service
User Offline
Joined: 28th Mar 2014
Location:
Posted: 30th Mar 2014 04:13
Here is Google Maps T1 code with working zoom, markers and per-marker styling, image type and other stuff. All that's left is calculating relative marker clicks and mouse-overs(PC only) from center coordinate and bitmap size. Maybe not bitmap size since out-of-view markers won't matter.

I also need to calculate markers in view in PHP given center coord on my server but can do code for that before DB query. I want to only stream marker meta data in view given zoom and bitmap size.

I would of edited my last post but it's taking days to get me posts approved so it's not visible for editing..

Login to post a reply

Server time is: 2024-11-25 03:39:16
Your offset time is: 2024-11-25 03:39:16