PH Gmap - Google maps, Street View, Routes, GPX & more

Hardware, coding, music, graphic and various applications

Moderators: Mug UK, moondog/.tSCc., [ProToS], lp, Moderator Team

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2230
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby lp » Wed Mar 15, 2017 2:36 pm

Judging by the opcodes in the illegal aes error messages I'd assume it relies on WDialog which is often the case of software written for magic. I probably have ndialog installed, but if I recall correctly it didn't replace wdialog 100%. Situation is just the opposite here, I used to have xaaes installed, but since ozk left the project it goes in a direction I don't agree with. So to be fair, its more of a design issue than a bug. If you don't want to solve it, just add "requires xaaes" to your websites list of requirements. I can accept that it just don't work with naes 2.0. I would also say never assume certain things are not used. :lol: There are still die hard single-tos users to this day, etc.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11927
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby wongck » Wed Mar 15, 2017 2:43 pm

Oh, I will fix it, both of us already spotted the issue with it, so fixing will be very simple now.
Also there already so few newer software around for our computers.

Just that I need to find N_AES and install it onto my system and probably over the weekend or sooner.
I would also like to try out again the N.AES 2,0 that I did not try previously. Alway good to re-discover old software. :wink:
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
jfl
Atari Super Hero
Atari Super Hero
Posts: 814
Joined: Tue Jul 18, 2006 10:55 pm
Location: Liège, Belgium
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby jfl » Wed Mar 15, 2017 3:10 pm

wongck wrote:Just that I need to find N_AES and install it onto my system and probably over the weekend or sooner.
I would also like to try out again the N.AES 2,0 that I did not try previously. Alway good to re-discover old software. :wink:

I may still have the install disks at home. I'll check that tonight.
Jean-François
GEMDict – GEMClip

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11927
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby wongck » Thu Mar 16, 2017 11:40 am

How does it reports the AES errors ?
to the toswin window?
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11927
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby wongck » Thu Mar 16, 2017 3:19 pm

Did you use PH Gmap v2.1 ?
I got a map instead of a grey window in the main window. I can't duplicate the main window being grey.
Of course the other windows are blank.

Now I know why i was using wdialog extension now, using it I did not have to fill in the clipping rectangle... so was just being lazy.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11927
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby wongck » Thu Mar 16, 2017 3:53 pm

I have to replace the list boxes as those are reporting errors.

Do you have any development notes for N.AES ?
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2230
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby lp » Thu Mar 16, 2017 4:32 pm

For list boxes you should be able to use http://toshyp.atari.org/en/00800f.html#menu_popup

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11927
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby wongck » Fri Mar 17, 2017 2:10 pm

lp wrote:For list boxes you should be able to use http://toshyp.atari.org/en/00800f.html#menu_popup

yes, that would what will be using.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2230
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby lp » Fri Mar 17, 2017 4:17 pm

wongck wrote:I have to replace the list boxes as those are reporting errors.

Do you have any development notes for N.AES ?


The only documentation I am aware of is in the NAES hyp included with NAES itself. Also TOSHYP where it notes certain AES calls as NAES only.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11927
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby wongck » Sat Mar 18, 2017 11:35 am

Ok, I did not expand the hypertext docs on the archive. Will do that and see if anything helps.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11927
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby wongck » Sun Mar 19, 2017 10:54 pm

It's fixed now.
Because I changed the RSC, the German RSC is now buggered.
So that's needs fixing, I wonder if I can just resort that tree only.
I still need to update the docs.

So will get it up on my site in a day or two.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11927
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby wongck » Mon Mar 20, 2017 2:48 pm

Well, it's fixed and I placed it on my google sites. :D
But now Google have suspended that site, for no reasons. :(
So until Google unsuspend it.... :roll:
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2230
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby lp » Mon Mar 20, 2017 5:38 pm

Is it me or odd coincidence you update an app that uses a google service (maps) and suddenly everything halts. Hopefully it's some misunderstanding.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11927
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby wongck » Mon Mar 20, 2017 10:58 pm

It is unsuspended now and accessible, so please try it and let me know if it is working on your system. :D
https://sites.google.com/site/probehous ... O1-PH-GMAP

Not sure what's the issue was with the suspension, it was suspended without any warning. A quick Google on the topic reveals that it is a bot that scans the activities on their system, and my guess is that they tighten the rules with the advent of the new administration (look at all the FAKE news about it :lol: ).

I doubled checked my emails for any mails from Google about it, but none. So as mysteriously as it was for both suspending and unsuspending reasons. :shrug: So no way of avoiding it as I do not know what's the reason. May be too many talks about their new US administration. :lol:
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11927
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby wongck » Mon Mar 20, 2017 11:01 pm

lp wrote:Is it me or odd coincidence you update an app that uses a google service (maps) and suddenly everything halts. Hopefully it's some misunderstanding.

Could be, may be they need to check out a 800KB package uploaded to their server. May be stuff about hacking CIA or Walmart. :lol:
Just to be sure it isn't.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2230
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby lp » Tue Mar 21, 2017 4:09 am

It seems to work ok now. One small visual issue. The call to menu_register() really should use a string beginning with 2 spaces. If I hide and unhide the app it destroys it's own menu entry name. Also the check mark when it's topped appears over top the name. I'm referring to the drop-down menu that lists all the running apps.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11927
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby wongck » Tue Mar 21, 2017 12:28 pm

Thanks Lonny, will fix that as well. ;-)
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11927
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby wongck » Tue Mar 21, 2017 2:03 pm

Oh that string is inside the RSC, so that was an easy fix. :-)

I start to fix the other prgs.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2230
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby lp » Fri Mar 24, 2017 5:19 pm

Some more minor gmap issues you might want to care about. ;)

First time I start the app, go to enter an address, the cursor is out of focus, nor do I see a cursor. I have to click the edit field to get it to register my key strokes. Later on if I go back to enter a new address, previous address appears, but no cursor. Start typing, cursor appears but leaves ghost image of itself. Visually it looks a little messed up.

Double-click a location on main window, yields street view window. This window appears partially under the menu bar, messing up the window title.

Favorites window, if popup is empty it draws some thin object that it probably shouldn't.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11927
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby wongck » Sat Mar 25, 2017 12:23 am

Thanks for reporting.
Yes, I saw most of the items reported and is fixable except the edit field stuff.
For the edit field, I do not know how to set focus on it as it is not the standard form_do call.
I need to research that. Others are simple to fix.

All these are GUI related.
This now ups my thinking of 80% of programming on an Atari application are due to GUI to around 90%. :roll:
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2230
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby lp » Sat Mar 25, 2017 4:51 pm

I had a lot of trouble with this myself. Looked in my own sources and I used objc_edit() to manage the cursor inside my redraw routine. Maybe that helps you look in the right direction. Indeed the GUI becomes a project in itself.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11927
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby wongck » Sun Mar 26, 2017 12:37 am

Yes, I am using objc_edit to draw the cursor.... and I found that I had a window redraw after that was set, and so erasing the cursor (silly me). So that's fixed.

Only issue now is the focus, I cannot see the focus on nAES but on XaAES there is a thin red perimeter on the object.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2230
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby lp » Sun Mar 26, 2017 2:24 am

N.AES does not have a focus indicator like that, simply the line with the cursor is the one with focus. ;)

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2230
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby lp » Wed Mar 29, 2017 3:48 pm

Not a bug per say, just a visual oddity. The popup that appears when right clicking, the border color of the popup inverts with the item highlighted. Depending on ones color scheme this looks unusual. Maybe you are using custom popup code here, I never seen this with aes popup calls. ;)

Perhaps some tips on cursor placement. The way I handle it is this. Each window has a structure, one item in this structure is the default edit field (object number) where the cursor should be placed whenever the dialog opens. If the dialog has no edit fields I set it to -1 to skip the cursor rendering calls. This also signals the redraw code to avoid cursor redraws for a given dialog.

There's also another item in the field, currently edited object number, and this is used during redraws so the cursor is maintained at the correct edit field.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11927
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: PH Gmap - Google maps, Street View, Routes, GPX & more

Postby wongck » Wed Mar 29, 2017 11:42 pm

Thanks for the hints.
Yes, right clicks or any button will call the popup.
Cursor been fixed and yes, redraws are specific to each windows. :mrgreen:

I am now struggling with a different issue.
A small percentage of the time, the streetview window crashes on 1st invoke.
This only happens in nAES, and on 1st invoke. Subsequent close & open does not crash.
XaAES does not exhibit this.

I tried GDB, but something weirder happened.
Without optimisation so that I can see the code, the location on map is totally misaligned ( several streets away) from the double click.
When I put back the optimisation, it spot on the map. So optimised and unoptimised code behaving differently ?? :shrug:
This is beyond me, so GCC gurus is needed here.

I may need to go back to old fashion printf statements. :(
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list


Social Media

     

Return to “Professionals”

Who is online

Users browsing this forum: No registered users and 1 guest