Hidden request to mapquest

6 posts / 0 new
Last post
ama
Hidden request to mapquest

I noticed that when I am zooming and panning a leaflet map using MapQuest, a request is sent to www.mapquestapi.com

Example:

https://www.mapquestapi.com/logger/v1/transaction?transaction=log&t=m&c=...

What is the purpose of this request?

Thanks


MQBrianCoakley
The sdks will send small
The sdks will send small requests and count transactions as users change zoom levels and views. This is part of the sdks.

gpasservices
Hi,

Hi,

I'm seeing the same thing, and while it's perfectly understandable that the SDK does it, these show up as errors in the Firefox dev console:

 

 

Is there a way to avoid these errors? Is there something wrong in my configuration?


MQBrianCoakley
What sdk is producing the
What sdk is producing the errors: MapQuest.js or the MapQuest Leaflet plugin v2?   What is the error?   If it's a http vs https error, make sure the protocol for the download matches the protocol for the requesting page.

gpasservices
Seems like the screenshot

Seems like the screenshot didn't go through properly. The error is:

XML Parsing Error: no root element found
Location: http://www.mapquestapi.com/logger/v1/transaction?transaction=log&rand=54... Line Number 1, Column 1:

I'm using MapQuest.js, pulled from

<script src="https://api.mqcdn.com/sdk/mapquest-js/v1.3.1/mapquest.js"></script>

This is happening both on my local development machine (website running on HTTP) and on our test machine (website running on HTTPS).


MQBrianCoakley
Thanks for the information. I
Thanks for the information. I forwarded this on to the development team to assess.