![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 7 of 7 total |
![]() |
Thu, Aug 17 2017 9:07 PM | Permanent Link |
KimHJ Comca Systems, Inc | I download the Geo Location demo that Chris Holland have made back in 2013.
I was unable to open it, it gave me a class exception when I try to add the GeoLocationFormD. Has anyone been able to get the geo location from the phone or tablet? Thanks, Kim |
Fri, Aug 18 2017 5:10 AM | Permanent Link |
Matthew Jones | KimHJ wrote:
> I download the Geo Location demo that Chris Holland have made back in 2013. > I was unable to open it, it gave me a class exception when I try to add the GeoLocationFormD. Presumably it is a version 1 project, so incompatible. But the core will be the same - open it in Notepad and copy the relevant parts. -- Matthew Jones |
Fri, Aug 18 2017 10:34 AM | Permanent Link |
KimHJ Comca Systems, Inc | "Matthew Jones" wrote:
>>Presumably it is a version 1 project, so incompatible. But the core will be the same - open it in Notepad and copy >>the relevant parts. Thanks Matthew, I don't know why I din't think about that. I will give it a try. |
Fri, Oct 13 2017 8:55 PM | Permanent Link |
KimHJ Comca Systems, Inc | "Matthew Jones" wrote:
>>Presumably it is a version 1 project, so incompatible. But the core will be the same - open it in Notepad and copy >>the relevant parts. It did not work. I'm getting an error: [Error] GeoLocationInterface.wbs (11,102): Functions must have a result [Error] GeoLocationInterface.wbs (12,112): Functions must have a result [Error] GeoLocationInterface.wbs (13,41): Functions must have a result Here is the three lines: external function GetPosition(PositionSuccess: TGetPositionSuccess; PositionError: TGetPositionError); external function StartWatchingPosition(PositionSuccess: TGetPositionSuccess; PositionError: TGetPositionError); external function StopWatchingPosition(); I'm trying to show the user how to get from the location the user are to an address. I don't know if it even possible to show direction in the Map unit in EWB. Kim |
Tue, Oct 17 2017 10:18 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Kim,
<< I'm trying to show the user how to get from the location the user are to an address. >> The next EWB build will have Geolocation support (TLocationServices in the WebComps unit), so if you can wait, you won't have to mess with things at such a low level anymore, with EWB taking care of a lot of the finer points of the API. << I don't know if it even possible to show direction in the Map unit in EWB. >> No, you cannot show/manipulate directions in the TMap control. However, you will be able to grab the latitude/longitude from the location services and pop those into the TMap control to get the current location. Tim Young Elevate Software www.elevatesoft.com |
Wed, Oct 18 2017 11:51 PM | Permanent Link |
KimHJ Comca Systems, Inc | Tim Young [Elevate Software] wrote:
<<The next EWB build will have Geolocation support (TLocationServices in the WebComps unit), so if you can wait, you won't have to mess with things at such a low level anymore, with EWB taking care of a lot of the finer points of the API. << I don't know if it even possible to show direction in the Map unit in EWB. >> No, you cannot show/manipulate directions in the TMap control. However, you will be able to grab the latitude/longitude from the location services and pop those into the TMap control to get the current location.>> Thanks, I can wait. Will I be able to add several Pins on the map or can I do this already? Kim |
Thu, Oct 19 2017 12:10 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Kim,
<< Will I be able to add several Pins on the map or can I do this already? >> Sure, just add multiple locations (Map.Locations.Add) and make sure that their ShowMarker property is set to True: https://www.elevatesoft.com/manual?action=viewprop&id=ewb2&comp=TMapLocation&prop=ShowMarker Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, March 29, 2023 at 12:35 AM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |