Google map of a group of addresses
Google map of a group of addresses
Wondering if anyone has made a Google map of a group of instances of a BO. Tips?
Tom - V8.8 build 3137 - MySql / PostGres
Re: Google map of a group of addresses
Yup. Quick solution =
1. Your business object with an address attribute - lets call it BOMAP
2. Create a Presentation on BOMAP - add in the Google Map element, fill out the options. I think the placement of it in the presentation is important, we have ours in Summary & it works, I think if you have it in Title it'll do a paged report..like 1 address per page...you can play around with that.
3. Query on BOMAP - display the presentation query.
4. Marvel as mutiple pins are placed on the maps & it looks amazeballs.
1. Your business object with an address attribute - lets call it BOMAP
2. Create a Presentation on BOMAP - add in the Google Map element, fill out the options. I think the placement of it in the presentation is important, we have ours in Summary & it works, I think if you have it in Title it'll do a paged report..like 1 address per page...you can play around with that.
3. Query on BOMAP - display the presentation query.
4. Marvel as mutiple pins are placed on the maps & it looks amazeballs.
Rob . Aware 8.4 (build 2718), Developer Edition, using Linux, MYSQL
Re: Google map of a group of addresses
Thanks for the outline, Rob!
Tom - V8.8 build 3137 - MySql / PostGres
Re: Google map of a group of addresses
+1 for Amazeballs
After you have a map with pins on it, what can you do next?
Is there a link or anyway to drill down to an Aware form when you click?
After you have a map with pins on it, what can you do next?
Is there a link or anyway to drill down to an Aware form when you click?
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: Google map of a group of addresses
Yep, there's an option in the controls of the presentation to determine what happens when they click a marker, options like Edit Object, Start process etc
Rob . Aware 8.4 (build 2718), Developer Edition, using Linux, MYSQL
-
- Posts: 2413
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia
Re: Google map of a group of addresses
I assume some have got this to work.
I can't for some reason.
Any chance of a tiny demo bsv please?
I can't for some reason.
Any chance of a tiny demo bsv please?
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Re: Google map of a group of addresses
I did a few years ago, Mark, but I don't have anything currently using this.
Tom - V8.8 build 3137 - MySql / PostGres
Re: Google map of a group of addresses
Rob,
I thought it was recommended not to use a Presentation for maps but just a regular form? I believe the video tutorial said so. The problem with the regular form is you can only call directions. No options for processes, etc. It sounds like presentations is the way to go? Yes?
Mark F.
I thought it was recommended not to use a Presentation for maps but just a regular form? I believe the video tutorial said so. The problem with the regular form is you can only call directions. No options for processes, etc. It sounds like presentations is the way to go? Yes?
Mark F.
Re: Google map of a group of addresses
Hi Marks,
Bailey I sent you a bsv.
Mark F - from what I remember:
Form - nice, quick, good for displaying one marker - i.e. a map cell on a Customer form which pins them on the map.
Presentation - a bit rigid in the display (not good if you want dynamic resizing), but allows you to define multiple operations to a marker, much like a query (edit object, start process which has the object in context etc...), can be used on a custom query to display multiple instances of the object - i.e. show 20 companies on the one map which can be clicked on an edited individually. Could get slow to generate if there were a lot.
Content panel on a VP using the predefined elements - can define a query to display multiple pins in the settings, but from what I can remember you can't define any actions on a click - so this is more like a display only option.
Rob
Bailey I sent you a bsv.
Mark F - from what I remember:
Form - nice, quick, good for displaying one marker - i.e. a map cell on a Customer form which pins them on the map.
Presentation - a bit rigid in the display (not good if you want dynamic resizing), but allows you to define multiple operations to a marker, much like a query (edit object, start process which has the object in context etc...), can be used on a custom query to display multiple instances of the object - i.e. show 20 companies on the one map which can be clicked on an edited individually. Could get slow to generate if there were a lot.
Content panel on a VP using the predefined elements - can define a query to display multiple pins in the settings, but from what I can remember you can't define any actions on a click - so this is more like a display only option.
Rob
Rob . Aware 8.4 (build 2718), Developer Edition, using Linux, MYSQL
Re: Google map of a group of addresses
Would be nice to share with all of us...rob_h7 wrote:Hi Marks,
Bailey I sent you a bsv.
Mark F - from what I remember:
Form - nice, quick, good for displaying one marker - i.e. a map cell on a Customer form which pins them on the map.
Presentation - a bit rigid in the display (not good if you want dynamic resizing), but allows you to define multiple operations to a marker, much like a query (edit object, start process which has the object in context etc...), can be used on a custom query to display multiple instances of the object - i.e. show 20 companies on the one map which can be clicked on an edited individually. Could get slow to generate if there were a lot.
Content panel on a VP using the predefined elements - can define a query to display multiple pins in the settings, but from what I can remember you can't define any actions on a click - so this is more like a display only option.
Rob
thank you
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
Re: Google map of a group of addresses
Rob,
So I set a fixed location of objects as a tenant owner. FixedMarkerMGeolocation=xxxx - This is a query with a process to set the fixed location.
What I a confused on, is if a Guest comes in or a user, do I need to somehow set the guest/user location to just MGeolocation=xxx.
I want to show the guest, walking to the fixed location that they selected.
The confusion is twofold. Does AIM know the location automatically of the user, or do I need to set it. And how do I show the user walking to the fixed location.
Basically think of you entering AIM (guest or user) from a URL on your phone, selecting a fixed location like a clubhouse, and as you walk it shows you moving on the map towards the clubhouse.
Lastly, I am using MOBILE START LOCATION WATCH INTO MGeoLocation but instead of this watching the guest, it seems to be changing the FixMGeolocation. I get to blips on the screen, but nothing moves when I walk (use a background process to redisplay, and also the fixed location is on top of the user's location).
I will look at presentations as well. Any help in the steps is appreciated.
Mark F
So I set a fixed location of objects as a tenant owner. FixedMarkerMGeolocation=xxxx - This is a query with a process to set the fixed location.
What I a confused on, is if a Guest comes in or a user, do I need to somehow set the guest/user location to just MGeolocation=xxx.
I want to show the guest, walking to the fixed location that they selected.
The confusion is twofold. Does AIM know the location automatically of the user, or do I need to set it. And how do I show the user walking to the fixed location.
Basically think of you entering AIM (guest or user) from a URL on your phone, selecting a fixed location like a clubhouse, and as you walk it shows you moving on the map towards the clubhouse.
Lastly, I am using MOBILE START LOCATION WATCH INTO MGeoLocation but instead of this watching the guest, it seems to be changing the FixMGeolocation. I get to blips on the screen, but nothing moves when I walk (use a background process to redisplay, and also the fixed location is on top of the user's location).
I will look at presentations as well. Any help in the steps is appreciated.
Mark F
-
- Posts: 50
- Joined: Sun Aug 10, 2008 7:40 pm
- Location: Tulsa, OK
- Contact:
Re: Google map of a group of addresses
I want amazeballs. Currently, I seem to have only one.
Have object Station. 6 sample records, each shows map individually ok on form.
Created presentation for Station. Map is in Summary band. All other bands empty.
Process : MapProcess
FIND Station WHERE Station.Country='USA'
VIEW Station USING StationMap
Only getting one (first) record to display. Shouldn't this work?
Have object Station. 6 sample records, each shows map individually ok on form.
Created presentation for Station. Map is in Summary band. All other bands empty.
Process : MapProcess
FIND Station WHERE Station.Country='USA'
VIEW Station USING StationMap
Only getting one (first) record to display. Shouldn't this work?
Dan
_______________________________________________
V8.4 Developer Edition Build 2722. MS SQL Windows
_______________________________________________
V8.4 Developer Edition Build 2722. MS SQL Windows
-
- Posts: 50
- Joined: Sun Aug 10, 2008 7:40 pm
- Location: Tulsa, OK
- Contact:
Re: Google map of a group of addresses
Thank you Mark.
Query -> Custom -> Presentation worked.
I even read this part in the manual - but somehow missed the concept. I really need to graduate from the school of hard knocks.
Query -> Custom -> Presentation worked.
I even read this part in the manual - but somehow missed the concept. I really need to graduate from the school of hard knocks.
Dan
_______________________________________________
V8.4 Developer Edition Build 2722. MS SQL Windows
_______________________________________________
V8.4 Developer Edition Build 2722. MS SQL Windows
-
- Posts: 2413
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia
Re: Google map of a group of addresses
Rob Hopkins goes the credit Dan.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Re: Google map of a group of addresses
still not sure I follow.
can someone post a video of this in action?
(or at least some screen shots)
thx
can someone post a video of this in action?
(or at least some screen shots)
thx
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL