Skip to main content
Known Participant
March 13, 2011
Question

CFMAP not loadingin on production, but works locally

  • March 13, 2011
  • 1 reply
  • 1018 views

Below is the sample code that works locally, but not on the server. The local dev environment is driven by the buil in Coldfusion 9 server, while the production server is IIS & CF9 Ent.

<cfmap name="name" 
centerlatitude="36.82617"
centerlongitude="-1.27431"
doubleclickzoom="true"
overview="true"
scrollwheelzoom="true"
showscale="true"
tip="My Map"
zoomlevel="13"
typecontrol="basic"
height="600"
width ="600"/>

The google map key is intered via cfajaximport.

Thank you.

    This topic has been closed for replies.

    1 reply

    Inspiring
    March 13, 2011

    What do you mean when you suggest it "doesn't work"?  In what way is it not working?

    --

    Adam

    n_kipAuthor
    Known Participant
    March 13, 2011

    Than you for your response.

    The map simply does not load.

    Nothing shows on the screen.

    Locally, it works.

    Thank you.

    Inspiring
    March 13, 2011

    There are no Javascript errors?  Is the request for the map actually being made?  Is it returning a 200, or a 404, or something else?

    When I run your code I get a map centred just off the southern Mediterranean coast of Spain, north of Algeria.  Is that what you're expecting?

    --

    Adam