Jump to content
Server Maintenance This Week. ×

Mapping for web viewer tool (GetMap) to remain static or update when connected to wifi


This topic is 3929 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Name & Parameters: GetMap ( webViewerName ; zoom ; address1 ; address2 ; city ; state ; postalCode ; country )

Description:

 

Appologies if I have put this in the incorrect format. I have tried to import the GetMap custom function from the Filemaker 12 Contact sample database. I have fiddled with several fields and setting to no avail. I'm using FM 12 pro advanced. 

 

My aim is input the address, a map appears then remains with or without internet connection. Ideally would only update when the address is changed.

 

Any pointers would be much appreciated.

Recursive: ?

Sample Input:

 

 

Let
[
address = Substitute
address1 & " " & 
address2 & " " & 
city & " " & 
state & " " & 
postalCode & " " & 
country ; 
" " ; "+" 
) ; 
size = GetLayoutObjectAttribute ( webViewerName ; "width" ) & "x" & GetLayoutObjectAttribute ( webViewerName ; "height" )
] ;
 
& address & 
"&zoom=" & zoom &
"&markers=" 
& address & 
"&size=" 
& size & 
"&sensor=false"
)

 


Results:



logo_sm.gif

400. That’s an error.

Your client has issued a malformed or illegal request.That’s all we know.


Formula:


GetMap ( webViewerName ; zoom ; address1 ; address2 ; city ; state ; postalCode ; country )

Required Functions:

 

Credits:



Disclaimer: FM Forums does not endorse or warrantee these functions are fit for any particular purpose. Do not post or distribute files without written approval from the copyright owner. All files are deemed public domain unless otherwise indictated. Please backup every file that you intend to modify.
 
Link to comment
Share on other sites

This topic is 3929 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.