On Apr 13, 2:56 pm, Pro Tyre <protyre...@googlemail.com> wrote:
> If you go directly to:
>
>  http://www.protyre.co.uk/outletsdesc.aspx?id=11049
>
> You can view where I have tried to place the code, however it throws up an
> error. I want to place a map on every 'outlet' page, however this appears to
> be a struggle! Please advise.

It probably will work if you take out the HTML tags from your
Javascript string. This is what the browser gets:
<script src="http://maps.google.com/maps?file=api&amp<br />v=2&amp<br /
>sensor=false&amp<br />key=ABQIAAAALwE-
PnXiYffpLGLtuyCuEhSkAorXqwaZVTPJ7usPn_HBK3eOihTINaQdlmq13MY4StMwHARr9i1i0g"
type="text/javascript"></script>

You have already quoted what it should be getting. Perhaps your CMS is
changing things?

> Also, is there a simple way of fixing Step 2 i.e. to validate the postcode
> properly?

Almost certainly, but that's chargeable work. Your existing code
appears to be expecting a function called ValidatePostcode, which you
haven't included in WebResource.axd. I suggest going back to wherever
that came from first.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to google-maps-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to