[Xerte] Re: Google Map page

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Feb 10 09:10:40 GMT 2012


This is google changing things again:

Here's the link I get from a map
http://maps.google.com/maps/ms?msid=209941147259352012582.000488bc7771c49c08686&msa=0

Here's the code that splits it into lat, lng, and zoom:
ll = pageIcon.templateData.map[0].mapurl.split('ll=')[1].split('&')[0];
z = pageIcon.templateData.map[0].mapurl.split('z=')[1].split('&')[0];

So, you tell me how I'm supposed to get lat and lng out of the url?

This is what they used to look like:
http://maps.google.com/?ie=UTF8&ll=52.937841,-1.196051&spn=0.009815,0.019312&t=h&z=16

Cosmic.

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
Sent: 09 February 2012 17:03
To: Xerte discussion list
Subject: [Xerte] Re: Google Map page

Hooray!

This is not shadenfreude, I am delighted you are getting the same result as I. Have you tried clicking on the maps to open up a browser window? The correct map should display in the browser window yet the wrong map displays in Xerte.

I have no idea what is causing this but I know it's not limited to my own setup.

It's also happening with the current map.rlm file, in what is as far as I can tell a standard Xerte pageTemplates project.

So Gremlins aside, has anyone any idea what is going on here?

Kind regards

Johnathan

On 9 February 2012 14:38, Alistair McNaught <Alistair.McNaught at heacademy.ac.uk<mailto:Alistair.McNaught at heacademy.ac.uk>> wrote:
Thanks for this.
Changes made so I can see the maps now but they look mixed up - see screenshots.

A

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk>] On Behalf Of Kemp Johnathan
Sent: 09 February 2012 12:31

To: Xerte discussion list
Subject: [Xerte] Re: Google Map page

Hello Alistair,

It depends on the version of Flash Player you have installed as to where you change the settings. You don't need admin permissions.

On the latest version of flash player, just right click on the Xerte project screen and select Global Settings, then the advanced tab, then select the trusted location setting. Add a folder ensuring that includes your project folder as one of its child folders.

You will need to close and re-open your browser after making the changes.

Alternatively you may be able to get at the settings via control panel / systems and security / flash player.

Kind regards

Johnathan

On 9 February 2012 12:15, Alistair McNaught <Alistair.McNaught at heacademy.ac.uk<mailto:Alistair.McNaught at heacademy.ac.uk>> wrote:
Hi Johnathan
I'm getting blanks too on 3 different browsers but I'm not sure where I change the flash player settings - do I need admin rights to do that?

A

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk>] On Behalf Of Kemp Johnathan
Sent: 09 February 2012 11:43
To: Xerte discussion list
Subject: [Xerte] Re: Google Map page

Hello Everyone,

Thomas thank you for trying this out.

Things are getting very strange.

I have created a brand new pageTemplates project. Added three map pages with the url's that I used before and which I included in my first email.

I have compared the map.rlm file in the projects model folder with the map.rlm file in the xerte svn and it is identical.

I published the project, zipped it up and opened it on a different PC that does not have Xerte installed. At first no maps displayed until I set the Flash Player Global settings / Advanced / Trusted Location Settings ... to include the parent folder in which the project folder was placed.

Then on reopening my browser and then the index.htm the maps started displaying and I got the same results in both Opera and Firefox.

The stoke page displayed a map of nottingham (but if I click on the map a window opens to display the map of stoke)

The nottingham page displayed a map of southern Stoke on Trent (but if I click on it a window opens to display the map of nottingham).

The london page displays a map of nottingham but zoomed in more than the first map so it is mostly west bridgford (but if I click on it a window opens to display a map of london)

I have attached the zip of the project.

I would be very interested to see if others get the same results with this project.

Kind regards

Johnathan



On 8 February 2012 19:02, Thomas Rochford <thomas.rochford at cambridge-serendipity.com<mailto:thomas.rochford at cambridge-serendipity.com>> wrote:
Hi Jonathan,

I'm unable to replicate your issue, I'm afraid. I've been 'playing' with the new features and have embedded three maps and a table which you can view at:

http://vcam-serendipity.dyndns.org/toolkits/play.php?template_id=2

Kindest regards, Thomas

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk>] On Behalf Of Kemp Johnathan
Sent: 08 February 2012 16:22
To: Xerte discussion list
Subject: [Xerte] Google Map page

Are there any issues with the Google map page at the moment? Could the page's performance have been affected by changes to the main xmlEngine.swf or wizard.swf which I noticed had been updated when I refreshed my svn copy today? I have installed both of these new files into my xerte installation

I have created a page templates project with a google map page and get exactly the same results as my individual template page.

Create a xerte project
Add 3 google map pages
page 1 paste in the link for st3 and change the tooltip to Stoke on Trent
page 2 paste in the link for ng2 and change the tooltip to Nottingham
page 3 paste in the link for nw1 and change the tooltip to london

Now save and close Xerte
Now open Xerte and open your project and preview it
I get
page 1 tooltip stoke on trent but map is nottingham
page 2 tooltip is nottingham but map is stoke on trent
page 3 tooltip is london but map is West bridgford

the links as pasted in are

Page 1 = http://maps.google.com/maps?q=ST3,+United+Kingdom&hl=en&sll=52.92778,-1.129449&sspn=0.07699,0.128574&oq=st3&hnear=ST3,+United+Kingdom&t=m&z=12
Page 2 = http://maps.google.com/maps?q=ng2&hl=en&sll=52.973544,-2.107262&sspn=0.153817,0.257149&hnear=NG2,+United+Kingdom&t=m&z=13
Page 3 = http://maps.google.com/maps?q=NW1,+United+Kingdom&hl=en&sll=52.92778,-1.129449&sspn=0.07699,0.128574&oq=nw1&hnear=NW1,+United+Kingdom&t=m&z=14

Can anyone replicate this?

Kind regards

Johnathan


This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

This email is confidential and may be privileged. If you are not the intended recipient please accept our apologies. Please do not disclose, copy, or distribute information in this email nor take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Please inform us that this message has gone astray before deleting it. Please note that views expressed in this email are those of the author and do not necessarily represent those of the Higher Education Academy. Please note that this e-mail has been created in the knowledge that Internet e-mail is not a secure communications medium. We advise that you understand and observe this lack of security when e-mailing us. Although we have taken steps to ensure this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. The Higher Education Academy Registered No 4930131

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

This email is confidential and may be privileged. If you are not the intended recipient please accept our apologies. Please do not disclose, copy, or distribute information in this email nor take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Please inform us that this message has gone astray before deleting it. Please note that views expressed in this email are those of the author and do not necessarily represent those of the Higher Education Academy. Please note that this e-mail has been created in the knowledge that Internet e-mail is not a secure communications medium. We advise that you understand and observe this lack of security when e-mailing us. Although we have taken steps to ensure this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. The Higher Education Academy Registered No 4930131

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120210/6bdabbe8/attachment-0001.html>


More information about the Xerte mailing list