Closed jmp100 closed 7 years ago
I believe it's the data. 700 records probably a character breaking the process for IE.
I validated the json @ JSONLint. No issues with data. IE breaks at about record 544. With either real time php json data or static json file.
Any help on this appreciated. James
I changed the data type to xml. Scripted out the location data. Same issue with IE 11 and earlier browser versions. Breaks after 544 records.
No problems with data. I scripted out using the xml schema replacing the name, lon and lat fields with real data. Same issue IE, breaks after 544 records. Sample below without brackets.
markers marker name="3C" lat="39.4900220000" lng="-83.6502520000" category="Restaurant" address="3040 Excelsior Blvd" address2="" city="Minneapolis" state="MN" postal="55416" country="US" phone="612-922-6662" email="info@chipotle.com" web="" hours1="Mon-Sun 11am-10pm" hours2="" hours3="" featured="" features=""/ marker name="A4T" lat="45.1392640000" lng="-95.0523150000" category="Restaurant" address="3040 Excelsior Blvd" address2="" city="Minneapolis" state="MN" postal="55416" country="US" phone="612-922-6662" email="info@chipotle.com" web="" hours1="Mon-Sun 11am-10pm" hours2="" hours3="" featured="" features=""/ marker name="AA4X4" lat="45.4370370000" lng="-117.2888080000" category="Restaurant" address="3040 Excelsior Blvd" address2="" city="Minneapolis" state="MN" postal="55416" country="US" phone="612-922-6662" email="info@chipotle.com" web="" hours1="Mon-Sun 11am-10pm" hours2="" hours3="" featured="" features=""/ marker name="AADTCA" lat="42.7007840000" lng="-84.5490050000" category="Restaurant" address="3040 Excelsior Blvd" address2="" city="Minneapolis" state="MN" postal="55416" country="US" phone="612-922-6662" email="info@chipotle.com" web="" hours1="Mon-Sun 11am-10pm" hours2="" hours3="" featured="" features=""/
/markers
@bjorn2404 @GiancarloGomez @JimmyRittenborg @collinanderson @quayzar
Is this project dead without issue support? In need of a fix asap. I can provide xml test data.
Thanks, James
Hey @jmp100 what issues are you experiencing? Have you turned on debugging?
No issues reported with IE debugger & console. I can attach xml sample data of nearly 700 records for testing using the stock xml template.
Hey @jmp100, I have contributed before to this project but I do not manage it. If you'd like I can offer some paid support.
Before that though, I was referring to turning on debug mode on the plugin and seeing what is happening when the data comes in.
Oh.. ok will try that..
No debug info posting..
You should see some stuff by enabling it. You see nothing at all? Can you paste the snippet code here of how you are instantiating the plugin.
The php file outputs xml, no issues with that.
$(function() {
$('#bh-sl-map-container').storeLocator({
'dataType': 'xml',
'dataLocation': 'data/locations2.php',
'inlineDirections': true,
'mapSettings': { zoom : 9, mapTypeId: google.maps.MapTypeId.ROADMAP },
'storeLimit': '26',
'debug': 'true'
});
});
and you see nothing coming back at all? Not even the XHR on your console? Test using Chrome as IE's debug is just a waste of time. See if you run into any issues there. Is the data coming back from your data location coming back as valid XML?
Ok, it's posting in IE console. 0 errors, 1 warning.
More messages are being logged than the console can display. Only the first 1000 messages per second are shown.
Attached is nearly 700 test records if you want to test locally. I'm out of ideas on this.
I can offer paid support at this point if you’d like. You can email me at support@fusedevelopments.com and I can review options with you.
Thank you, Giancarlo Gomez http://giancarlogomez.com
I would have to get approval from client. This is a bug issue with this script. Not sure how that will fly with them.
I understand. If they approve you can email me and I can share with you my price sheet. Have a great day.
Can you test with the above attached data and give some estimate for a fix? No issues in any browser except IE.. go figure.
What version of IE requires support
From this point on please contact me via email to further discuss.
IE 11
@bjorn2404
Is this IE11 script bug issue on deck to be addressed? Test data linked above.
Thanks, James
@jmp100 My availability right now for providing free support for a free plugin is very limited at this time. This is the first I've heard of any potential issue specific to Internet Explorer but I can try to do some testing this weekend.
Thanks bjorn2404, after 544 records IE 11 posts a location in the first position on the west coast when using a central Ohio zip. There are also Canadian locations in the feed. Some of the nearest locations do not post and not sorting by closest location asc. Also, default zoom settings do not work. No issues in Chrome, Firefox and Safari. No console errors reported in IE when debugging. The client reported the issue so the behavior is not unique to my machine. Inline directions are ok, all lead to Minneapolis which is in every test location record.
$(function() {
$('#bh-sl-map-container').storeLocator({
'dataType': 'xml',
'dataLocation': 'data/locations.xml',
'inlineDirections': true,
'mapSettings': { zoom : 9, mapTypeId: google.maps.MapTypeId.ROADMAP },
'storeLimit': '26',
'debug': 'true'
});
});
Thanks, James
@jmp100 You are missing coordinates for location name 186, which seems to make IE 11 go haywire.
Wow..., thanks bjorn2404, that completely got by me. Apparently for that record the postal code is not in the database. I'll set conditions to fix. Thanks again, this issue was on me.
Doesn't work with json data, by address or zipcode. No issues with any other browser.