January 23, 201411 yr Hello everybody, I a beginner using filemaker and i would like to do something. A lot of search on the web but no solution. I have a table and a google map using webviewer. For each recorder i would like to add ( or remove ) a maker / pin by clicking directly on the map. The makers are not on a specific address, it would be on a mountaine without road for exemple. If i select all the recorder, all the marker will appear. I don't know programming that why i'm looking for an exemple that i could adapt to my program or someone that could help me to do this. A other solution ( less better ) would be to use a static picture and add marker ( by drawing ). But also for this solution i don't find an exemple that i could use to do that. Could someone help me ? Eric
January 27, 201411 yr There is no easy way to interact directly with a web viewer and dynamically add/remove pins on a Google map. Doing this would require some type of interaction with a scripting language (Javascript, PHP, jquery, etc) to get the information in and out of Filemaker and into Googles mapping API. An alternative method would be to have your records contain a static set of lat/long coordinates and then display them all at the same time from within a web viewer. This would give you a visual representation of the found set of records that you could add/remove/update as needed, but you'd have to do the manipulation of the data from within Filemaker and then manually refresh the web viewer with the updated changes.
January 29, 201411 yr Author thank you James I arrive to apply your alternative but this is not the good solution. I would like to known if it's possible to add points like a draw over a static picture. One point = One record I can't believe that there is not an existing exemple to add marker manually on a google map. So dissapointed
January 29, 201411 yr This is more of a Google Maps issue than a FM issue. You need to know how to use Google Map's API to send the date to Google and return the resulting map. It is possible to do what you want. But not necessarily easy for a beginner. Asking FileMaker to maintain and build features based on Google's ever-changing products is...well...unreasonable. They do however provide the framework you need to make it happen. The key here is that you need some way to grab the coordinates from the map ( this can be the tricky part if you are not a web developer or coder of some fashion ), and store them in your FileMaker file. You could then fairly easily send a call to Google Maps and include the coordinates and it would pin the map for you.
March 14, 201411 yr Author How i could use this on webviewer : http://gmaps-samples...le-markers.html The idea will be to collect lag and long inside the table
March 17, 201411 yr Author This is the good address ... http://gmaps-samples-v3.googlecode.com/svn/trunk/draggable-markers/draggable-markers.html Sorry
March 25, 201411 yr Newbies Hi laffarguee, I just posted a blog today regarding customized Google Maps in FileMaker using Google Maps API v3. This could be altered to achieve what you are looking for if you know how to modify Google's API javascript parameters (should be easy peasy). Check out the link here to read the basic tutorial http://bitly.com/1h5pRj8. At the end of the article I have included a FileMaker 13 Solution file along with the necessary PHP file to accomplish this. I sure hope this helps set you in the right direction. Let me know if you have any questions. Happy coding!
March 28, 201411 yr Anyone have an eror in Filemaker Pro 13 trying to display Google Maps? It used to work a week or so ago but now I get an error that the Google Embed API needs to be in an iFrame... Thanks! Brian
Create an account or sign in to comment