Bing Maps not showing on blog module

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/7/2017 4:53:11 AM
Gravatar
Total Posts 66

Bing Maps not showing on blog module

I had trouble getting google maps to work in the blog module (works fine in the events module). Maps were showing on the blog posts up until recently. Getting an error in the console

ERROR 

GET http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.3&mkt=en-us 

also

soyumi-asian-kitchen-pre-opening-dining:563 Uncaught ReferenceError: VEMap is not defined
    at soyumi-asian-kitchen-pre-opening-dining:563

the page with this error is at

http://mystatesboro.com/soyumi-asian-kitchen-pre-opening-dining

 

 

9/7/2017 5:06:47 AM
Gravatar
Total Posts 66

Re: Bing Maps not showing on blog module

I believe MSFT may have deprecated v 6.3 in bing maps because

http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0

returns data like it should.

9/7/2017 10:41:16 AM
Gravatar
Total Posts 216
Community Expert

mojoPortal Hosting & Design @ i7MEDIA!

Re: Bing Maps not showing on blog module

Hi Allen,

We just tested this on the mojoPortal demo with the following address: 727 Buckhead Drive, Statesboro, GA 30458

We didn't run into any errors, and the driving directions functioned properly. Perhaps you need to format your address as above? If you're still having problems, give us a screencap or list out all of the values under "Map Settings" on your blog post.

Thanks!

12/29/2017 3:50:27 PM
Gravatar
Total Posts 2253

Re: Bing Maps not showing on blog module

The Bing Maps API has significantly changed since the feature was added to mojoPortal. We'll be working on updating it but in the meantime, please use Google Maps, which is fixed in the repository and the fix will be in the next release of mojoPortal, due in a couple of days.

Thanks,
Joe

12/30/2017 4:27:39 AM
Gravatar
Total Posts 66

Re: Bing Maps not showing on blog module

Thanks Joe,

The instructions are very clear on what API to use in Google maps. I have tried several and nothing ever displays. It works in the googlemaps module the waI have it set, but not in events or on blog posts.

12/30/2017 5:14:52 AM
Gravatar
Total Posts 66

Re: Bing Maps not showing on blog module

 

mojoPortal Version2.5.0.0 MSSQL

Operating SystemMicrosoft Windows NT 6.3.9600.0

ASP.NET Info4.0.30319.42000 

blog post with a map enable (no map showing)

http://mystatesboro.com/del-sur-taqueria-and-cantina-opens-today-august-1

in the blog module I get the below (note I have the api key in the setting and web.config, it works on another website and yes the domains are in the APi key  credentials). No map shows 

 

js?v=3.6&sensor=false:35 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error
_.rb @ js?v=3.6&sensor=false:35
(anonymous) @ common.js:50
(anonymous) @ common.js:189
c @ common.js:44
(anonymous) @ AuthenticationService.Authenticate?1shttp%3A%2F%2Fmystatesboro.com%2Fdel-sur-taqueria-and-cantina-opens-today-august-1&callback=_xdc_._uiif6u&token=16546:1
util.js:222 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
JB.j @ util.js:222
(anonymous) @ js?v=3.6&sensor=false:134
(anonymous) @ js?v=3.6&sensor=false:53
(anonymous) @ js?v=3.6&sensor=false:50
(anonymous) @ js?v=3.6&sensor=false:53
(anonymous) @ js?v=3.6&sensor=false:105
(anonymous) @ js?v=3.6&sensor=false:50
(anonymous) @ js?v=3.6&sensor=false:105
Sc @ js?v=3.6&sensor=false:52
Rc.jb @ js?v=3.6&sensor=false:105
(anonymous) @ stats.js:1
util.js:222 Google Maps API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version
JB.j @ util.js:222
(anonymous) @ js?v=3.6&sensor=false:134
(anonymous) @ js?v=3.6&sensor=false:53
(anonymous) @ js?v=3.6&sensor=false:50
(anonymous) @ js?v=3.6&sensor=false:53
(anonymous) @ js?v=3.6&sensor=false:105
(anonymous) @ js?v=3.6&sensor=false:50
(anonymous) @ js?v=3.6&sensor=false:105
Sc @ js?v=3.6&sensor=false:52
Rc.jb @ js?v=3.6&sensor=false:105
(anonymous) @ stats.js:1
util.js:222 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required

12/30/2017 10:03:01 AM
Gravatar
Total Posts 2253

Re: Bing Maps not showing on blog module

That's what I was saying was fixed in the next release of mojo. Google originally required an API key and then they decided to not require one with v3 of the API, then last year they decided to require one again. Any site (actually page) that had previously used the v3 API without a key was "grandfathered" to not needing a key but that has been unreliable. The currently released version of mojoPortal (v 2.6) doesn't use the key. The next release (v 2.6.0.2) will use a key. You can expect to see that release in a couple of days. Just finishing up testing on pgsql and SQLite right now and writing some docs.

Thanks,
Joe

12/30/2017 10:20:39 AM
Gravatar
Total Posts 66

Re: Bing Maps not showing on blog module

LOL they sure don't make it easy do they. Looking forward to trying out the newer release. BING maps no longer works either.

You must sign in to post in the forums. This thread is closed to new posts.